This project was created to develop Docker images that provides a pre-installed development environment for students to use during coding workshops. It includes all the necessary tools and dependencies for students to be able to develop and run code on their own machines without any additional setup required.
Before you can use this Docker image, you will need to have those programs:
- Docker Desktop: Docker website
- Vscode: Visual Studio
- Vscode plugin: Remote Development
To get started using this Docker image, follow these steps:
-
Clone this repository to your local machine.
-
Open a terminal window and navigate to the directory where you cloned the repository.
-
find the right image to your workshop
-
Run the following command to build the Docker image:
docker build -t workshop-name -f Dockerfile .
-
Once the Docker image has finished building, run the following command to start a container:
docker run -it workshop-name
This will start a container with the Docker image
-
Open Vscode and select the Remote Development plugin then right click on the docker image that was created and click "attach to container"
-
This will open a new vscode window, after connect with success click on open folder
-
navigate to this folder: /usr/workshop/
If you run into any issues while using this Docker image, please check the following:
- Make sure Docker is installed and running correctly on your machine.
- Make sure you are using the correct Docker commands to build and run the image.
- Make sure you have permissions to access the directory where you cloned the repository.
- Make sure the ports used by the Docker image are not already in use by other applications on your machine.
I want to give some credits to my friend Rodrigo Sasaki that helped me to create the first Docker image to this project.