running cubic in docker image

Asked by Diethard Seiferth

When I run cubic in a docker image, it reports following error:

  • Execute synchronously.................. mount-iso "/home/xxx/iso_src/x
                                            ubuntu-20.04.2.0-desktop-amd64.iso"
                                            "/home/xxx/iso_target/source-
                                            disk" "1011" "1011"
  • The process id is...................... 2047
  • The result is.......................... Error getting authority: Error
                                            initializing authority: Could not
                                            connect: No such file or directory
  • The exit status, signal status is...... 127, None
...
 • Is mounted?............................ False

But I can mount manually, for e.g.:

$ mkdir iso_target/source-disk
$ sudo mount -r -t iso9660 -o loop /home/xxx/iso_src/xubuntu-20.04.2.0-desktop-amd64.iso /home/xxx/iso_target/source-disk

What permissions does cubic need?

Question information

Language:
English Edit question
Status:
Expired
For:
Cubic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
PJSingh5000 (pjsingh5000) said :
#1

Are you able to mount anything in your docker image using the command line (i.e. not using Cubic)?

Revision history for this message
PJSingh5000 (pjsingh5000) said :
#2

I didn't read the second part of your question correctly-- I see that you can mount the location manually.

Revision history for this message
PJSingh5000 (pjsingh5000) said :
#3

Check if dbus is running:

    $ service dbus status

If it is not running, start it:

    $ sudo service dbus start

Then launch Cubic.

Revision history for this message
Diethard Seiferth (lennoxblue) said :
#4

Thanks for this info. Now mounting is working, but get next error:

 Pseudo terminal........................ 18
  â¢ Status................................. 256
  â¢ Signal................................. 0
  â¢ Exit Code.............................. 1
  â¢ Virtual environment status message..... You are not in the virtual
                                            environment.
  â¢ Unsubscribe from virtual environment
    entered signals with subscription id... 140655381420096
  â¢ MAX_ATTEMPTS........................... 3
  â¢ First time..........................

Revision history for this message
Cubic PPA (cubic-wizard) said :
#5

How do you start your docker container?
I may be able to try it on my end to see what is going on.

Also, based on your log output, your locale doesn't seem right.
You need to have UTF-8 support for Cubic and for .Cubic's terminal environment.
(If it is not available in your host environment (docker) it may not be available in the Cubic Terminal).

Revision history for this message
Diethard Seiferth (lennoxblue) said :
#6

I tried in another ssh terminal with utf8 installed, but the same.

cat /lib/systemd/system/dockertest2004img.service
[Unit]
Description=Docker test Ubuntu 20.04 Image
After=docker.service
Requires=docker.service

[Service]
ExecStart=/usr/bin/docker run -t --privileged -p 2100:22 \
                   --mount type=bind,source=/mnt/hdd,target=/mnt/hdd \
                   --mount type=bind,source=/mnt/ssd,target=/mnt/ssd \
                   --mount type=bind,source=/mnt/bcache,target=/mnt/bcache \
                   --mount type=bind,source=/home,target=/home \
                   --name test2004img test2004img
ExecStop=/usr/bin/docker stop test2004img
ExecStopPost=/usr/bin/docker rm test2004img

[Install]
WantedBy=multi-user.target

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.