I have been experimenting with building and pushing Docker images to the Heroku container registry, then releasing them like so:
heroku container:login
heroku create some-app-name
heroku container:push web --app some-app-name
heroku container:release web --app some-app-name
I have a particular use case that requires me to have the Docker Daemon running inside of a Docker container. To my understanding, it is not possible to run the Docker Daemon within a Docker container unless the --privileged
flag is supplied to the docker run
command.
Is there a way to run a Docker container on the Heroku platform in privileged mode, or using some other method deploy Docker-in-Docker to this platform?