Some help required to fix 2 (minors) errors I've got installing dockerpi

Hello.

I found this interesting docker container :

and I’m trying to install it on the jetson nano. To be able to do that will increase the value of the board,since it is allow to install a light Raspberry Pi environment inside a Docker container. It uses qemu 6.0 for emulating the kernel and the dtbs files of 3 models of raspberry. It takes less resources from the jetson nano.

At the moment I’ve found two big problems :

[ TIME ] Timed out waiting for device /disk/by-partuuid/6c586e13-01.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for File?/disk/by-partuuid/6c586e13-01.
         Starting Preprocess NFS configuration...
         Starting Set console font and keymap...
         Starting Raise network interfaces...
[  OK  ] Stopped Dispatch Password ?ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R?uests to Wall Directory Watch.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Login Prompts.
[  OK  ] Closed Syslog Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Emergency Shell.
[  OK  ] Reached target Emergency Mode.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Started Set console font and keymap.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue. ---> nothing happens here.

and 2)

mmcblk02p2 is very small,only 2 gb.

/dev/mmcblk0p2 532480 4390911 3858432 1.9G 83 Linux

Hi,

1. Could you try to build the image with root to see if it works?

Cannot open access to console, the root account is locked.

2. What kind of Nano do you use?
In general, you can just use a larger SD card to get more storage space.

Thanks.

I think that this is the source of the problem :

[ TIME ] Timed out waiting for device /disk/by-partuuid/6c586e13-01.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for File?/disk/by-partuuid/6c586e13-01.

I have installed this docker image also on the PC,where it worked. I mean,on the PC the problem 1 is not present,but it is present the problem n. 2. I’m using the jetson nano developer kit 4gb.

zi@zi-desktop:/home/ubuntu/build$ df -h

Filesystem Size Used Avail Use% Mounted on
/dev/root 118G 86G 27G 77% /
devtmpfs 1,8G 0 1,8G 0% /dev
tmpfs 2,0G 88K 2,0G 1% /dev/shm
tmpfs 2,0G 30M 2,0G 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 2,0G 0 2,0G 0% /sys/fs/cgroup
tmpfs 397M 4,0K 397M 1% /run/user/0
tmpfs 397M 32K 397M 1% /run/user/1000
tmpfs 397M 4,0K 397M 1% /run/user/131
192.168.1.6:/home/ziomario/Scrivania/Dati/Data/Nano/I9 458G 376G 59G 87% /home/zi/Desktop/Work/I9

it booted correctly,but I haven’t a working network interface inside the container :

root@raspberrypi:/home/pi# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

maybe because the qemu network interface is not well configured to work with the nano :

nic="-netdev user,id=net0,hostfwd=tcp::5022-:22 -device usb-net,netdev=net0"

usb-net ? and I have a very little space inside the container to work. With this little space can’t be done any serious work.

root@raspberrypi:/home/pi# df -h

Filesystem Size Used Avail Use% Mounted on
/dev/root 1.8G 1.3G 475M 73% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 465M 0 465M 0% /dev/shm
tmpfs 465M 18M 447M 4% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 465M 0 465M 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 52M 201M 21% /boot
tmpfs 93M 0 93M 0% /run/user/1000

  1. problem solution :

sudo losetup -f

losetup /dev/loop25 2019-09-26-raspbian-buster-lite.img

partprobe /dev/loop25

gparted /dev/loop25