GithubHelp home page GithubHelp logo

naruto522ru / docker-arch-vnc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dcsunset/docker-i3-arch-vnc

0.0 0.0 0.0 22 KB

A minimum docker image of Arch Linux with i3wm and VNC support.

License: MIT License

Shell 27.09% Dockerfile 72.91%

docker-arch-vnc's Introduction

docker-i3-arch-vnc

Docker Image Size

A minimum docker image of Arch Linux with i3wm and VNC support.

Pull image

docker pull dcsunset/i3-arch-vnc

Usage

Simple usage:

docker run -d --name i3-arch-vnc -p 5900:5900 -p 6080:6080 -e VNC_PASSWD=password -e USERNAME=arch dcsunset/i3-arch-vnc

On the first startup, this image will install the i3 related packages. You may need to wait a few minutes after creating the container. This approach ensures that the base image is minimum.

Then visit http://localhost:6080 to visit noVNC UI. Or you can use a different VNC client (like TigerVNC client) and connect to localhost:5900.

If VNC_PASSWD is not set, the security type of tigervnc should be set to None in /root/.vnc/config, it is insecure when exposing the container directly to the Internet.

If USERNAME is not set, it will use root as the default user. No password is set by default for the user. You should change it after first login.

By default, noVNC will be installed and run. Set DISABLE_NOVNC to true to disable it.

Exposed ports

  • 5900: Used for VNC interface
  • 6080: Used for noVNC Web UI (if noVNC is enabled)

Customization

The VNC config can be changed by mounting the config file at /root/.vnc/config. By default, the config file is empty.

Besides, init.sh and start.sh can be customized as well.

Installed applications

  • tigervnc
  • noVNC (if noVNC is enabled)
  • wget
  • alacritty (a terminal emulator)

Build

docker build -t i3-arch-vnc .

FAQ

Scaling

By default, noVNC's scaling mode is set to None. It can be changed in the noVNC panel easily.

License

MIT License

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.