/docker-studies

:whale: :blue_book: docker study repo

Primary LanguageShell

Docker Repo

Docker Tutorial

You can see it all on this link

  • To install go to this link

  • Then try this:

docker --version
docker run hello-world
  • Now try this:
docker build -t friendlyhello .
docker run -p 4000:80 friendlyhello

The internal port of the container is 80 and the external is 4000

docker run -d -p 4000:80 friendlyhello
  • Kill the container with:
docker container ls

docker container stop ${CONTAINER ID}

docker run -p 4000:80 gabrielpassos/get-started:part2