An open API service indexing awesome lists of open source software.

https://github.com/bearddan2000/dev-docker-desktop-snap-brackets-text-editor

This is a POC project to demonstrate brackets a text editor.
https://github.com/bearddan2000/dev-docker-desktop-snap-brackets-text-editor

brackets desktop dev docker editor snap text

Last synced: 5 months ago
JSON representation

This is a POC project to demonstrate brackets a text editor.

Awesome Lists containing this project

README

          

# dev-docker-desktop-snap-brackets-text-editor

## Description
This is a POC project to demonstrate brackets a text editor.

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
- brackets

## Docker stack
- ubuntu:22.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)