Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map files into boot folder #28

Closed
matteocarnelos opened this issue May 20, 2021 · 1 comment
Closed

Map files into boot folder #28

matteocarnelos opened this issue May 20, 2021 · 1 comment

Comments

@matteocarnelos
Copy link

Is it possible to map files (e.g. wpa_supplicant.conf, config.txt, dietpi.txt,...) into the boot folder of the filesystem through the Dockerfile or the docker-compose file?

I'm trying to run DietPi with this image and I would like to enable the auto setup through the dietpi.txt file.
I've tried with the following docker-compose.yml but the OS starts normally without triggering the auto setup procedure.

services:
  dockerpi:
    image: lukechilds/dockerpi:vm
    volumes:
      - ./dietpi/DietPi_RPi-ARMv6-Buster.img:/sdcard/filesystem.img
      - ./dietpi/dietpi.txt:/sdcard/boot/dietpi.txt
@matteocarnelos
Copy link
Author

Issue solved by mounting the filesystem.img in the container and accessing the boot partition from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant