Running docker images without docker

Aum Patel
2 min readJul 29, 2024

--

Docker has revolutionized how we package and deploy applications, but what if you need to run Docker images without Docker itself? This article explores alternatives and techniques for running Docker images in Docker-free environments.

Why Run Docker Images Without Docker?

Several scenarios might necessitate running Docker images without the Docker daemon:

  1. Security concerns in multi-tenant environments
  2. Lightweight deployments where Docker overhead is undesirable
  3. Environments where Docker installation is restricted
  4. Specialized use cases requiring different isolation mechanisms

Fly.io, a platform that runs applications globally, has developed an innovative approach to running Docker images without Docker. They use:

  1. Custom OCI-compatible registry
  2. Firecracker micro-VMs for isolation
  3. containerd for caching and image management
  4. Custom init process written in Rust

This approach allows them to maintain Docker compatibility while achieving the isolation and security they need for their multi-tenant environment.

Running Docker images without Docker is not only possible but can be advantageous in certain scenarios. Whether you choose existing alternatives like Podman or implement a custom solution like Fly.io, understanding these options can help you leverage the Docker ecosystem in Docker-free environments.

As container technologies evolve, we’re likely to see more innovative approaches to running containerized applications. The key is to choose the right tool for your specific needs, balancing factors like security, performance, and compatibility.

--

--

Aum Patel
Aum Patel

Written by Aum Patel

Devops | CKA | Penetration tester (EJPTV2) | Cloud Associate

No responses yet