Build a Dockerfile that has created aliases. More details and instructions are provided below.
Filename | Description |
---|---|
.gitignore |
General ignore file. Optimized for Python. |
.dockerignore |
A list of files that will not be copied during build. |
captain-definition |
Used by CapRover for deployment. |
Dockerfile |
Implemention of the alias bash command. |
README.md |
Information describing this project |
Variable | Description |
---|---|
USERNAME |
Your DockerHub username. |
IMAGE_NAME |
Name of the repository created above. |
ALIAS_NAME |
Based on the aliases provided use hello, learnmore or message. |
Builds the Dockerfile
found at the current path (.
).
$ docker build -t USERNAME/IMAGE_NAME .
_Runs the IMAGE_NAME
image.
$ docker run USERNAME/IMAGE_NAME ALIAS_NAME