TECHNICAL DOCS
Function | Command line |
---|---|
View all images | docker images |
View all containers | docker ps |
Create a container | docker create YourImageName |
Start a container you created | docker start ContainerNameOrFirstThreeLettersOfYourContainerId |
Stop a container | docker stop ContainerNameOrFirstThreeLettersOfYourContainerId |
Create and start a container | docker run -d YourImageName |
Build an image | docker build -t ImageNameYouWant path\to\directory\containing\dockerfile |
Refresh image with log backups | docker exec YourImageName path\to\directory\containing\backups |
Delete an image | docker rmi YourImageName |