Running the container#
Start the Docker container#
Whenever you need to restart the
pylith-dev-workspace Docker container, simply run
docker run --name pylith-dev-workspace --rm -it -v pylith-dev:/opt/pylith \
docker run --name pylith-dev-workspace --rm -it -e DISPLAY=host.docker.internal:0 \
-v pylith-dev:/opt/pylith \
Make sure Docker is running before you start the container.
Attach VS Code to the Docker container#
Start VS Code.
Click on the Docker extension in the Activity Bar on the far left hand side as illustrated in the screenshot.
pylith-dev-workspacecontainer. Verify that it is running.
Right-click on the container and select
Attach Visual Studio Code. This will open a new window. You should see
Container registry.gitlab.com/cig-pylith...at the left side of the status bar at the bottom of the window.
Open the PyLith source code by selecting
Open Folder...and navigating to