Skip to content

vmendo/Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Docker in a nutshell

  • Create Dockerfile
  • Build the image (as root or with sudo):
# docker build -t <myname>:<mytag> .
  • Run the image (as root or with sudo):
# docker run -d -p 7001:80 <myname>:<mytag>
  • Get Docker runtime information
# docker stats 
  • Go to the Docker shell
# docker attach <docker_name>
  • List dockers running
# docker ps 
  • List all existing dockers
# docker ps -a
  • Remove an existing Docker
# docker rm <docker_name>
  • List available image
# docker image
  • Remove an image
# docker rmi <image_name>

About

Información sobre Dockers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published