https://github.com/bearddan2000/dev-docker-desktop-snap-vscode-text-editor
This is a POC project to demonstrate vscode a text editor.
https://github.com/bearddan2000/dev-docker-desktop-snap-vscode-text-editor
desktop dev docker editor snap text vscode
Last synced: 3 months ago
JSON representation
This is a POC project to demonstrate vscode a text editor.
- Host: GitHub
- URL: https://github.com/bearddan2000/dev-docker-desktop-snap-vscode-text-editor
- Owner: bearddan2000
- Created: 2023-12-23T05:40:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-23T05:40:10.000Z (over 2 years ago)
- Last Synced: 2025-01-29T16:42:02.482Z (over 1 year ago)
- Topics: desktop, dev, docker, editor, snap, text, vscode
- Language: Shell
- Homepage: https://github.com/bearddan2000/dev-docker-desktop-snap-vscode-text-editor
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dev-docker-desktop-snap-vscode-text-editor
## Description
This is a POC project to demonstrate vscode a text editor.
As of the creation of this project: vscode is depreciated, use at your own risk.
This is a barebones installation no pluggins where added.
In order to be able to get files out of the container one must add a *volume* to the docker run command.
ie.
without a volume
`docker run --rm` ...
with a volume
`docker run --rm -v $(pwd):/app` ...
Supports X11 display forwarding from docker container.
Snap is specific to Ubuntu OS, use of the Dockerfile with other
OS may break.
The technique used can be found in install.sh
under the start-up
## Tech stack
- snap
- vscode
## Docker stack
- ubuntu:18.04
## To run
`sudo ./install.sh -u`
## To stop (optional)
`sudo ./install.sh -d`
## To see help
`sudo ./install.sh -h`
## Credit
- [Snap example](https://forum.snapcraft.io/t/install-snap-in-docker/20740)
- [Security patch](https://github.com/ogra1/snapd-docker/issues/9)