Sign inSign up

mrsono0/python

By mrsono0

Updated over 6 years ago

The Visual Studio Code Remote - Containers

Image
2

1.0K

mrsono0/python repository overview

Developing inside a Container

The Visual Studio Code Remote - Containers extension lets you use a Docker container as a full-featured development environment

devcontainer.json for Python
{
	"name": "Python project",
	"image": "mrsono0/python",
	"appPort": [9000],
	"settings": {
		"terminal.integrated.shell.linux": "/bin/bash",
		"python.pythonPath": "/usr/local/bin/python",
		"python.linting.pylintEnabled": true,
		"python.linting.pylintPath": "/usr/local/bin/pylint",
		"python.linting.enabled": true
	},
	"remoteUser": "vscode",
	"workspaceFolder": "/home/vscode",
	// docker tool box for Mount
	// "workspaceMount": "src=//c/Users/admin,dst=/workspaces/reactjs,type=bind,consistency=delegated"
}
docker run
docker run --name python -itd -u vscode -p 8888-8889:8888-8889 -p 6006-6015:6006-6015 -e JUPYTER_RUN=yes mrsono0/python

Tag summary

Content type

Image

Digest

Size

1.5 GB

Last updated

over 6 years ago

docker pull mrsono0/python