Seems like the new resin base images are missing /dev/shm
? I was trying to start up postgresql, and it complained that it couldn’t write to shared memory.
From inspecting the layers, it seems like it might be related to changing over to systemd?
I’m currently not having ENV INITSYSTEM on
in my Dockerfile.
For resin/raspberrypi2-node:
root@raspberrypi2:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p6 15G 1.6G 12G 12% /
none 483M 0 483M 0% /dev
/dev/root 171M 134M 28M 83% /lib/modules
/dev/mmcblk0p6 15G 1.6G 12G 12% /data
tmpfs 487M 14M 474M 3% /run/dbus
For resin/arm7hf-node:
root@raspberrypi2:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p6 60G 1.7G 57G 3% /
tmpfs 487M 0 487M 0% /dev
shm 64M 4.0K 64M 1% /dev/shm <----- PRESENT HERE
/dev/root 171M 134M 28M 83% /lib/modules
/dev/mmcblk0p6 60G 1.7G 57G 3% /data
tmpfs 487M 14M 474M 3% /run/dbus
Anybody got any ideas why?