diff options
| author | Ben Mitchell <[email protected]> | 2020-08-23 21:22:45 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-23 21:22:45 +0100 |
| commit | 4a5ee5e7442e4789f459b1f50f25e14055bf1da0 (patch) | |
| tree | c294ede2e243c52c908223baa4b50fa95fa1aeae /README.md | |
| parent | Update README.md (diff) | |
| download | docker-osx-4a5ee5e7442e4789f459b1f50f25e14055bf1da0.tar.xz docker-osx-4a5ee5e7442e4789f459b1f50f25e14055bf1da0.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -86,6 +86,18 @@ docker start abc123xyz567 ``` +## Creating images: +``` +# You can create an image of a already configured and setup container. This allows you to effectively duplicate a system. +# To do this, run the following commands + +$ docker ps --all #make note of your container id +$ docker commit containerID newImageName + +# To run this image do the following +$ docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix newImageName +``` + # Troubleshooting libgtk permissions denied error, thanks @raoulh + @arsham |