Skip to content

itsmitul9/Docker-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

build an image from Dockerfile

  • docker build -t docker-test .

check image

  • docker image ls

run docker image

  • docke run -p 8080:8081 -it docker-test =>8080 is localhost and 8081 where server is running) => open any browser, hit url localhost:8080

list the container

  • docker container ls --al

run an interactive sheel in container

  • docker exec -it sh

About

Containerise a go based application using Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors