Run chroot in docker

I have a commercial application that comes in a chroot environment: running the script does chroot and runs exe.

The application is quite complicated, and also for support, I do not want to change the whole environment.

Is it possible to start chroot and start the service in docker? Or two incompatible?

+4
source share
2 answers

You can create a chroot inside the container ... but, as mentioned in the debootstrap section inside the docker container , you may need to run in privileged mode .

docker run --privileged

Docker "" , , Docker Docker.
, - , "" .

.
.

+3

, chroot Docker . , chroot Coffer. - , , chroot, .

https://github.com/Max00355/Coffer

0

Source: https://habr.com/ru/post/1612417/


All Articles