Last active
December 31, 2015 06:09
-
-
Save pommi/7946027 to your computer and use it in GitHub Desktop.
Pull the container and start it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@host:~# docker pull mendix/mendix | |
Pulling repository mendix/mendix | |
c39ee75463d6: Download complete | |
eaea3e9499e8: Download complete | |
... | |
855acec628ec: Download complete | |
root@host:~# docker run -d mendix/mendix | |
bd7964940dfc61449da79cddd1c0e8845d61f6ec1092b466e8e2e582726a5eea | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
bd7964940dfc mendix/mendix:latest /bin/su mendix -c /u 19 seconds ago Up 18 seconds 5000/tcp, 7000/tcp tender_hawkings | |
root@host:~# docker inspect bd7964940dfc | grep IPAddress | awk '{ print $2 }' | tr -d ',"' | |
172.17.0.5 | |
root@host:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment