balena-io-library / base-images

Balena base images
https://docs.balena.io/reference/base-images/base-images/#balena-base-images
Apache License 2.0
223 stars 85 forks source link

umount: /dev: target is busy #600

Open Shuu-Ri opened 4 years ago

Shuu-Ri commented 4 years ago

Hi, Need some help on using balenalib/raspberrypi3:buster with UDEV=on through docker-compose. I used docker-compose to start the balenalib/raspberrypi3:buster image and get this message "umount: /dev: target is busy".

Here is my Dockerfile, startup_x.sh and docker-compose. Dockerfile FROM balenalib/raspberrypi3:buster COPY startup_x.sh / ENV UDEV=on CMD ["/startup_x.sh"]

startup_x.sh

! /bin/bash

echo "HelloWorld!" sleep 1000

docker-compose.yml version: '2' services: balena-base: image: testing privileged: true

Thanks.

balena-ci commented 4 years ago

[robertgzr] This issue has attached support thread https://jel.ly.fish/#/support-thread~9e8a76ea-c7a2-4383-b028-3fe27c49377e

Shuu-Ri commented 4 years ago

Additional info: I am using the Balena base image on the Raspberry Pi Buster Lite version with Docker version 19.03.4 and docker-compose (pip installed) version 1.24.1.