Load the image and run it:
sudo docker load -i ocademy-dev-image.tar
sudo docker images
sudo docker run --name ocademy-container --security-opt=seccomp:unconfined -it ocademy-dev-image bash
sudo docker ps -a
If the container is STOPPED (e.g. after you reboot your computer):
sudo docker start ocademy-container
If the container is already running
sudo docker exec -it ocademy-container bash
This is optional. If you want to build the image from Dockerfile:
sudo echo '{ "features": { "buildkit": true } }' | sudo tee /etc/docker/daemon.json && sudo service docker restart
sudo docker build -t ocademy-dev-image .
https://securecloud.blog/2021/12/07/wsl2-use-docker-with-vscode-without-docker-desktop/
https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
https://www.geeksforgeeks.org/remove-all-containers-and-images-in-docker/