Go to file
Eric Hays 1c571de3d5 Match output to input and clarify build command
The Dockerfile listed above specifically uses package.json, but the
output listed for the build lists package*, which is inconsistent. The
React example later in the doc uses package*, which would be consistent
with the output, but this should fix the mismatch for the beginner going
through the tutorial for the first time.

Additionally, the sentence "Build the Docker image now using 'docker
build' again" might be confusing to a beginner. I specifically tested
running this exact command and it gives an error message. Specifically
using the exact command needed to build this target shouldn't take up
too much space.
2020-06-03 02:10:30 +00:00
app Only handle onclick in the button instead of stopping propagation 2020-05-24 21:12:06 +01:00
docs Match output to input and clarify build command 2020-06-03 02:10:30 +00:00
.dockerignore Initial commit 2020-02-05 22:04:43 -05:00
.gitignore Initial commit 2020-02-05 22:04:43 -05:00
build.sh Initial commit 2020-02-05 22:04:43 -05:00
docker-compose.yml Initial commit 2020-02-05 22:04:43 -05:00
Dockerfile Remove unused ARG from Dockerfile 2020-03-02 13:46:36 -05:00
LICENSE Initial commit 2020-02-05 22:04:43 -05:00
mkdocs.yml Initial commit 2020-02-05 22:04:43 -05:00
README.md Initial commit 2020-02-05 22:04:43 -05:00
requirements.txt Pin mkdoc versions 2020-04-14 10:31:49 +02:00
yarn.lock Initial commit 2020-02-05 22:04:43 -05:00

Docker Getting Started Tutorial

This tutorial has been written with the intent of helping folks get up and running with containers and is designed to work with Docker Desktop. While not going too much into depth, it covers the following topics:

  • Running your first container
  • Building containers
  • Learning what containers are running and removing them
  • Using volumes to persist data
  • Using bind mounts to support development
  • Using container networking to support multi-container applications
  • Using Docker Compose to simplify the definition and sharing of applications
  • Using image layer caching to speed up builds and reduce push/pull size
  • Using multi-stage builds to separate build-time and runtime dependencies

Getting Started

If you wish to run the tutorial, you can use the following command after installing Docker Desktop:

docker run -dp 80:80 docker/getting-started

Once it has started, you can open your browser to http://localhost.

Development

This project has a docker-compose.yml file, which will start the mkdocs application on your local machine and help you see changes instantly.

docker-compose up

Contributing

If you find typos or other issues with the tutorial, feel free to create a PR and suggest fixes!

If you have ideas on how to make the tutorial better or new content, please open an issue first before working on your idea. While we love input, we want to keep the tutorial is scoped to new-comers. As such, we may reject ideas for more advanced requests and don't want you to lose any work you might have done. So, ask first and we'll gladly hear your thoughts!