Docker¶
Fast Help¶
Instruction |
Command |
|---|---|
Pull image |
|
List of containers images |
|
Create container |
|
Run container |
|
Get container id (Linux) |
|
Get container id (Windows) |
|
Run a saved image |
|
Operational bash cmd |
|
Commit cintainer |
|
Stop container |
|
Remove container |
|
Remove image |
|
List of running container |
|
Clean and remove all container |
|
Rename image |
|
Create VM |
docker-machine create –driver virtualbox –virtualbox-disk-size “40000” default |
Delete VM |
docker rm default |
Docker login |
docker login -u “myusername” -p “mypassword” docker.io |
Docker ID |
docker tag 18455f1ec44d mlhoutel/ubuntu_prismatic:latest |
Docker push |
docker push docker.io/mlhoutel/ubuntu_prismatic:latest |
Docker Setup¶
OS |
Installation Link |
|---|---|
Linux |
|
Mac |
https://hub.docker.com/editions/community/docker-ce-desktop-mac/ |
Windows Pro |
https://hub.docker.com/editions/community/docker-ce-desktop-windows/ |
Windows Family |