Skip to content

werickblog/docker_commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

learn_docker

Just a repo holding various docker container templates

Getting started

Commands

  • To build a container

    docker build -t <your username>/<name of your container> .

  • To get all images

    docker images

  • To run your docker container

    docker run -p 49160:8080 -d <your username>/<name of your container>

  • Enter into a container

    docker exec it <container_id> /bin/bash

  • To test your container

    docker ps

About

A number of Docker commands that are useful

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published