Source: VScode from docker

← Rendered

markdown source:

---
description: Как работать в vcc0de из докер контейнера
tags: vscode docker
title: VScode from docker
---
- [Docker in Visual Studio Code](https://code.visualstudio.com/docs/containers/overview)
- [Python in a container](https://code.visualstudio.com/docs/containers/quickstart-python)
- [Linting Python in Visual Studio Code](https://code.visualstudio.com/docs/python/linting)
- [Using Python environments in VS Code](https://code.visualstudio.com/docs/python/environments)
- [Use Docker Compose](https://code.visualstudio.com/docs/containers/docker-compose)
- [Developing inside a Container](https://code.visualstudio.com/docs/remote/containers)

> Not the Docker side, just some VS code considerations
>
> VS Code relies on two mechanisms for resolving python highlighing: environment and linter.
>
> For environment you can check [this](https://code.visualstudio.com/docs/python/environments), which basically says either python is availsble on the system in path, or pick virtual environmrnt you create, or provide a path to python executable in json.
>
> [this](https://code.visualstudio.com/docs/python/linting) tells to install linter with pip, runnable from environment you configured or provide a path to linter in json.
>
> So it looks the only things you need to replicate VSCode python linting is python executabe, installation of pylint and json configuration for vscode.

[source](https://stackoverflow.com/a/52348916/15966204)

Смотир еще:

- [[vscode]]
- [[docker]]
- [[docker-compose]]


[vscode]: ../lists/vscode "Vscode"
[docker]: ../lists/docker "Docker"
[docker-compose]: docker-compose "Docker compose"