Skip to content

Hungon/DockerProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DockerProjects

I'm going to walk through it to learn docker.

hello-world-java

This project is my first java application using docker.

  • To build this image
  • $ docker build -f Dockerfile -t sample/hello-world-java:1 .

  • To compile this app
  • $ docker run --rm -v $PWD:/app -w /app sample/hello-world-java:1 javac Main.java

  • To run this app
  • $ docker run --rm -v $PWD:/app -w /app sample/hello-world-java:1 java Main

    hello-world-python

    This project is my first python application using docker.

    Nagigate top-level directory you created and type following command if you want to try this app.

  • To run this app
  • $ docker-compose up

  • To close this app
  • $ docker-compose down

    About

    I'm going to walk through it to learn docker.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published