Git Product home page Git Product logo

dmotte / desktainer-rootless Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 3.0 403 KB

๐Ÿ–ฅ Remote desktop in a container (rootless version)

Home Page: https://hub.docker.com/r/dmotte/desktainer-rootless

License: MIT License

Dockerfile 48.29% Shell 51.71%
arm browser container debian desktop docker docker-compose http lxde no-root novnc remote rootless vnc webapp websockify x11 desktainer x11vnc remote-desktop

desktainer-rootless's Introduction

desktainer-rootless

icon

GitHub main workflow Docker Pulls

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

๐Ÿ“ฆ 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 which 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.