Coggle requires JavaScript to display documents.
Registry/Repo for images
Image-Name
Version
docker run --name webapp nginx:1.14-alpine
Attach local standard input, output, and error streams to a running container
Create a new image from a container’s changes
Create new container
Inspect changes to files or directories on a container’s filesystem
Run a command in a running container
Export a container’s filesystem as a tar archive
Display detailed information on one or more containers
Kill one or more running containers
Fetch the logs of a container
Pause all processes within one or more containers
List port mappings or a specific mapping for the container
Remove all stopped containers
Remove one or more containers
Display the running processes of a container
Unpause all processes within one or more containers
Block until one or more containers stop, then print their exit codes
docker run -p 38282:8080 --name blue-app -e APP_COLOR=blue -d kodekloud/simple-webapp
docker run -d -e MYSQL_ROOT_PASSWORD=db_pass123 --name mysql-db mysql
FROM ubuntu MAINTAINER james.bond@gmail.com RUN apt-get update RUN apt-get install –y nginx CMD [“echo”,”Image created”]
CMD ["command","param" ] CMD ["sleep" , "5"]
CMD command param eg: CMD sleep 5