Skip to content
Dockerfiles I use
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md

README.md

Development environment images

These are dockerfiles I created for development

Build

Don't forget the last ".".

docker build -f <name.dockerfile> -t <your:tag> .

Run

docker run <options> <your_image>
  1. Options
    • -i: show terminal screen

    • -p: port forward to host machine, -p host_port:container_port

    • -t: enable input

    • -v: mount folder into container, to mount current folder:

      • Linux or Windows PowerShell
        -v ${pwd}:/path/folder_name
      • Windows CMD
        -v "%cd%":/path/folder_name
      • Mac OS X
        -v $PWD:/path/folder_name
    • -w: working directory, -w /path/folder_name

You can’t perform that action at this time.