Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.22 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.22 KB

Docker image for Material Point Method

Krishna Kumar

Quay image Docker hub CircleCI

Tools

  • Clang 6.0
  • CMake 3
  • Eigen 3
  • GCC 8
  • Vim
  • IntelTBB

Using the docker image

  • The docker image can be used directly from the Docker Hub or Quay.io
  • Pull the docker image docker pull cbgeo/mpm or docker pull quay.io/cbgeo/mpm
  • To launch the cbgeo/mpm docker container, run docker run -ti cbgeo/mpm:latest /bin/bash or docker run -ti quay.io/cbgeo/mpm:latest /bin/bash

To login as root

  • Launching docker as root user: docker exec -u 0 -ti <containerid> /bin/bash

Creating an image from the docker file

  • To build an image from docker file run as root docker build -t "cbgeo/mpm" /path/to/Dockerfile
  • docker history will show you the effect of each command has on the overall size of the file.