Skip to content

rafed/docker-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker intro

This is an example repository to run docker containers.

Run a container with docker CLI

  1. cd server
  2. docker build . -t hello
  3. docker run -p 5000:5000 hello [Map port 5000 of localhost to port 5000 of container]

Then go to localhost:5000

Run containers with docker-compose

In the project root:

  1. docker-compose build
  2. docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published