https://github.com/fatihbaltaci/vscode_docker_template
Template for vscode remote docker development
https://github.com/fatihbaltaci/vscode_docker_template
context devcontainer docker vscode
Last synced: 4 days ago
JSON representation
Template for vscode remote docker development
- Host: GitHub
- URL: https://github.com/fatihbaltaci/vscode_docker_template
- Owner: fatihbaltaci
- Created: 2020-02-02T14:28:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-25T13:07:40.000Z (about 4 years ago)
- Last Synced: 2025-06-11T03:10:19.989Z (4 months ago)
- Topics: context, devcontainer, docker, vscode
- Language: Dockerfile
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template for vscode remote docker development
More info: https://code.visualstudio.com/docs/remote/containers
## Developing inside a container on a remote Docker host
More info: https://code.visualstudio.com/docs/remote/containers-advanced#_developing-inside-a-container-on-a-remote-docker-host
- Create a docker context on remote host.
```bash
docker context create --docker "host=ssh://your-remote-user@your-remote-machine-fqdn-or-ip-here"
```- Uncomment `"docker.host":"ssh://your-remote-user@your-remote-machine-fqdn-or-ip-here"` and specify ssh username, ip or fqdn in [.vscode/setttings.json](.vscode/settings.json)
- Uncommet these lines in [.devcontainer/devcontainer.json](.devcontainer/devcontainer.json):
```
"workspaceMount": "src=,dst=,type=bind",
"workspaceFolder": "/workspace"
```- Key based authentication is required.