MitchTalmadge / AMP-dockerized

CubeCoders AMP in a Docker Image. Easily create game servers for games like Minecraft, GMod, TF2, Factorio, and StarBound!
https://hub.docker.com/r/mitchtalmadge/amp-dockerized
Other
89 stars 21 forks source link

Idea: Nested Docker Containers #147

Open ProjectSynchro opened 1 year ago

ProjectSynchro commented 1 year ago

Would be nice to be able to use the native docker functionality in AMP, granted I have no idea how easy this would be to accomplish.

Is installing docker/moby enough to get this working? Will need to test and see.

Joly0 commented 1 year ago

This has already been discussed here https://github.com/MitchTalmadge/AMP-dockerized/issues/100 Docker in docker is not really something you should want. Better would be he approch to let amp access the hosts docker

Dalarialus commented 1 year ago

This has already been discussed here #100 Docker in docker is not really something you should want. Better would be he approch to let amp access the hosts docker

Access to the host docker socket creates more issues than it solves, and in most setups will create a networking nightmare.

I think the best solution would be to integrate something like nestybox/sysbox into the image - this would allow a complete docker stack to run within an unprivileged image, requiring far fewer tweaks and workarounds.