Giter Club home page Giter Club logo

Comments (4)

accetto avatar accetto commented on June 21, 2024

Hello,
I want to confirm the question. I'll check it. However, I cannot promise that it'll be this week, because I'm pretty busy elsewhere, but I'll try.
Regards, accetto

from xubuntu-vnc-novnc.

chenzilin avatar chenzilin commented on June 21, 2024

at your convenience

this project is so great and wonderful.

my sincerely gratitude!

from xubuntu-vnc-novnc.

accetto avatar accetto commented on June 21, 2024

It's corrected in the release 20.06.
Thanks for the question, it has helped to fix an old bug. :)
Regards, accetto

from xubuntu-vnc-novnc.

accetto avatar accetto commented on June 21, 2024

This is how you can test that it's working.

First you can pull the lab variation of the image:

docker pull accetto/xubuntu-vnc-novnc:lab-ubuntu18.04.4

You can rename it, for example, to chenzilin/cubuntu-xfce4-dev-docker:v3.0:

docker tag accetto/xubuntu-vnc-novnc:lab-ubuntu18.04.4 chenzilin/cubuntu-xfce4-dev-docker:v3.0

Then you can run you script, which will start the container ubuntu-xfce4-dev-docker_chenzilin in the background:

$ cat ubuntu-xfce4-dev-docker_chenzilin.sh \
#!/bin/bash
docker run -d \
-p 14901:22 \
-p 15901:5901 \
-p 16901:6901 \
--user 1000:1000 \
--restart=always \
--name ubuntu-xfce4-dev-docker_chenzilin \
chenzilin/cubuntu-xfce4-dev-docker:v3.0

After checking that it's still running by using

docker ps -a

you can connect to it interactively

docker exec -it ubuntu-xfce4-dev-docker_chenzilin bash

and check the user and group IDs (note that the instance ID in the prompt will be different each time)

headless@456ef013eda3:~$ id
uid=1000(headless) gid=1000(headless) groups=1000(headless)
headless@456ef013eda3:~$ exit

There is also a simpler way, if you only want to check the user and group IDs. You can use a temporary container which will be automatically removed:

cat ubuntu-xfce4-dev-docker_chenzilin.sh \
#!/bin/bash
docker run -it \
--user 1000:1000 \
--rm \
--name just_test \
chenzilin/cubuntu-xfce4-dev-docker:v3.0 --skip id

You should get the following output:

Skip VNC startup
Executing command: 'id'
uid=1000(headless) gid=1000(headless) groups=1000(headless)

from xubuntu-vnc-novnc.

Related Issues (4)

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.