Richard Kettlewell <invalid@invalid.invalid> wrote:
Jimmy Logan <punk.book8853@fastmail.com> writes:
I'd like to create some kind of service container on rpi4b which I have, >>> which would allow me to just install something in a normal way (not
programming the whole installation process like dockerfiles), without
changing anything on the current OS.
You donΓÇÖt need any Dockerfiles to use Docker. So, perhaps Docker will
meet your needs.
Isn't the problem that Docker isn't persistent? Next time the container
is started it loses the state from the previous time - so any changes you make, starting with installing any packages and then on, have to be done again?
You can address that two ways. One is to map volumes into the container so that they will keep the data on the host filesystem and it'll be there again when the container restarts. Or you can make your changes then snapshot the container ('docker commit') and then launch the snapshot as a new container.
As Richard says, containers are persistent.
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 278 |
Nodes: | 10 (0 / 10) |
Uptime: | 03:31:08 |
Calls: | 2,369 |
Files: | 5,012 |
D/L today: |
18 files (3,351K bytes) |
Messages: | 430,742 |