mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-21 21:41:31 -06:00
Update README.md
This commit is contained in:
parent
b6cd8a514b
commit
4a5ee5e744
12
README.md
12
README.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user