There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

clmbmb , (edited )

For docker, you have to create /etc/docker/daemon.json and set:


<span style="color:#323232;">{
</span><span style="color:#323232;">  "data-root": "/docker"
</span><span style="color:#323232;">}
</span>

You can move your /var/lib/docker while the daemon is stopped. I had no issues when I did the move.

I don’t know how to change this for podman.

LE: ahelpme.com/…/change-the-location-of-container-st…

GravitySpoiled OP ,

Thx, I’ll check it out

Scio , (edited )

I would like to know this as well.

So far, it seems it’s a bit easier to do with Podman / “standard OCI containers” because they’re rootless and get stored in my home directory. But the solution I keep seeing is to move the directory and then symlink or mount bind the folder. I do the latter so that podman continues to work when that external drive isn’t connected.

This does actually work, but I really don’t like it. Why isn’t there a way to store a container entirely in a specific location and then run straight from that location?

The alternative is to provide Podman a custom storage.conf for a specific location. But that too is a “permanent” change. I would love to know a cleaner solution to portable containers!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines