This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:pylith:docker [2016/10/24 22:11] baagaard [Docker Quick Reference] |
software:pylith:docker [2017/03/29 19:52] (current) baagaard [Running PyLith in a portable, Linux environment via Docker] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Running PyLith in a portable, Linux environment via Docker ====== | ====== Running PyLith in a portable, Linux environment via Docker ====== | ||
+ | |||
+ | **See the PyLith User Manual (v2.2.0) for the latest instructions.** The instructions here do not include how to use applications with graphical-user interfaces within the container. | ||
===== What is Docker? ===== | ===== What is Docker? ===== | ||
Line 43: | Line 45: | ||
- Get container id ''$ docker ps'' | - Get container id ''$ docker ps'' | ||
- Attach to container ''$ docker attach CONTAINER_ID'' | - Attach to container ''$ docker attach CONTAINER_ID'' | ||
+ | |||
+ | ==== Troubleshooting ==== | ||
+ | |||
+ | <code> | ||
+ | docker: Error response from daemon: oci runtime error: process_linux.go:330: running prestart hook 0 caused "fork/exec /usr/bin/dockerd (deleted): no such file or directory: ". | ||
+ | </code> | ||
+ | |||
+ | * Restart docker. ''$ sudo service docker restart'' | ||
+ | * Run docker image. ''$ docker run -ti --volumes-from pylith-data geodynamics/pylith'' | ||
===== Copy data to/from persistent storage volume. ===== | ===== Copy data to/from persistent storage volume. ===== |