As a beginner I was taking several courses on a variety of topics. It seemed
each course wanted to teach you by using different languages and by using
different development approaches for the course’s example projects. Learning
how to use Docker on a basic level has helped keep less clutter on my computer
and help expand my learning path.
Learn More about Docker.
Steps To Creating a Dockerfile for a Jekyll Development Environment
- Create your project folder
- Move into our project directory
-
Run Docker command
- TIP: this must be ran in an empty directory. Do not put any dockerfile/docker-compose files in the directory yet.
- This install basic necessities to start a Jekyll site.
- `--rm` flag will remove this container once it is done installing the basic Jekyll files.
- Make sure you are still in the project folder
- Make docker-compose.yml file
- Open YAML file in Vim
- File Permissions
-
Permissions
- NOTE: I add -d flag so that it runs detach.