Skip to content
 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Hello World Docker Container

pushed to Docker Hub

Run with:

docker run -d -p 8080:8080 u1ih/hello

Steps:

1: Get Source

git clone https://github.com/u1i/docker-hello

2: Make changes

modify index.html in the app directory

3: Build Container

docker build . (take note of the new IMAGE_ID)

4: Tag Container and push to Dockerhub

docker tag <IMAGE_ID> <YOUR_USERNAME>/hello:<VERSION_NUMBER>

docker tag <IMAGE_ID> <YOUR_USERNAME>/hello:latest

docker login

docker push <YOUR_USERNAME>/hello:<VERSION_NUMBER>

docker push <YOUR_USERNAME>/hello:latest

5: Run Container

docker run -d -p 8080:8080 <YOUR_USERNAME>/hello

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages