Tiryoh/docker-ros2-desktop-vnc

How to start foxy in ubuntu 18?

GuancongLuo opened this issue · 0 comments

I want to run foxy container in ubuntu 18.
docker run -p 6080:80 -v /dev/shm:/dev/shm tiryoh/ros2-desktop-vnc:foxy

But it doesn't work, follow as log:

  • enable custom user: ubuntu
    useradd: user 'ubuntu' already exists
    set default password to "ubuntu"
    cp: cannot stat '/root/.config': No such file or directory
    2020-07-07 04:18:55,311 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
    2020-07-07 04:18:55,311 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
    2020-07-07 04:18:55,314 INFO RPC interface 'supervisor' initialized
    2020-07-07 04:18:55,314 CRIT Server 'unix_http_server' running without any HTTP authentication checking
    2020-07-07 04:18:55,314 INFO supervisord started with pid 18
    2020-07-07 04:18:56,319 INFO spawned: 'nginx' with pid 20
    2020-07-07 04:18:56,325 INFO spawned: 'web' with pid 21
    2020-07-07 04:18:56,330 INFO spawned: 'xvfb' with pid 22
    2020-07-07 04:18:56,331 INFO spawned: 'wm' with pid 23
    2020-07-07 04:18:56,333 INFO spawned: 'lxpanel' with pid 24
    2020-07-07 04:18:56,336 INFO spawned: 'pcmanfm' with pid 25
    2020-07-07 04:18:56,338 INFO spawned: 'x11vnc' with pid 26
    2020-07-07 04:18:56,339 INFO spawned: 'novnc' with pid 27
    2020-07-07 04:18:56,513 INFO Listening on http://localhost:6079 (run.py:87)
    2020-07-07 04:18:57,349 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,349 INFO success: web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,349 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,349 INFO success: wm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,350 INFO success: lxpanel entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,350 INFO success: pcmanfm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,350 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-07-07 04:18:57,350 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

How to solve it?
Thank you for your time.