logoalt Hacker News

sshinetoday at 12:17 PM1 replyview on HN

Docker's ability to mount host directories in the container is really nice.

Maybe you have some premade tooling that helps provide persistency between container invocations.

But by default, closing your agent container and opening it again just wipes everything you didn't host-mount.

What I'm advocating is really just the same functionality without the Docker runtime, because Linux has namespaces.

Feels more like you're on your host system with exactly the minor variations you specify.

Making Docker feel like your host system is possible, but I just never felt at home.


Replies

voqvtoday at 12:18 PM

yeah, you can use rocker --home --user -- $CI_IMAGE