Home
Softono

Desktainer Rootless

Open source MIT Shell
13
Stars
4
Forks
2
Issues
1
Watchers
5 months
Last Commit

 About Desktainer Rootless

🖥 Remote desktop in a container (rootless version)

Platforms

Web Self-hosted Docker Linux

Languages

Shell

Need Help Installing Desktainer Rootless?

We provide expert installation service for this software. Our team will install, configure, and secure Desktainer Rootless on your server. plans start at just $30.

Desktainer Rootless

View on GitHub

desktainer-rootless

icon

GitHub main workflow Docker Pulls

:computer: Remote desktop in a container (rootless version). This image is almost equivalent to dmotte/desktainer but it runs as a non-root user.

:package: This image is also on Docker Hub as dmotte/desktainer-rootless and runs on several architectures (e.g. amd64, arm64, ...). To see the full list of supported platforms, please refer to the .github/workflows/main.yml file. If you need an architecture that is currently unsupported, feel free to open an issue.

Simple usage

The simplest way to try this image is:

docker run -it --rm -p6901:6901 dmotte/desktainer-rootless

Note: since some GUI applications may have issues with Docker's default seccomp profile, you may need to use --security-opt seccomp=unconfined

Then head over to http://localhost:6901/ to access the remote desktop.

Screenshot

For a more complex example, refer to the docker-compose.yml file.

You can also extend this image to create your own custom unprivileged user, and then leverage the --user Docker option to run the container as such.

Note: even if the container is running as an unprivileged user, you can still use docker exec -ituroot mycontainer bash to run commands as root inside it.

More info

For more info see the dmotte/desktainer project, which is very similar to this one.

The environment variables are the same, except MAINUSER_NAME and MAINUSER_PASS which have no effect. This behaviour is intended, since this runs as a non-root user.