Can I use LXD image to create Docker container and/or vice versa?

A container system making use of LXC containers.

the above statement is true for both LXD and Docker. In that case can we use LXD image to create Docker container and/or vice versa?

  • Is alpine distribution food for big scale apps?
  • How start filebeat inside docker container?
  • Docker nodejs not found
  • Store persistent data in docker container directory
  • Docker Compose Link (Alias)
  • How to mount a Google cloud disk with Docker-machine / docker-compose
  • How to open swagger-ui using docker
  • Unable to start a Docker container through Remote Docker Java API
  • Docker expose port
  • Vagrant: Sync folder with boot2docker box on Windows
  • Nginx Docker On ElasticBeanstalk: No Such File Or Directory
  • How can Docker run distros with different kernels?
  • One Solution collect form web for “Can I use LXD image to create Docker container and/or vice versa?”

    They are fundamentally different.

    With LXD container image you get full OS experience, it means all applications and processes that are part of the distro, only kernel is shared with the host. With Docker image you get single process application.

    So you can have Docker running inside LXD container, but not the other way around.

    The confusion might arise from the fact that Docker did use liblxc library in the past, that LXD daemon is using to control containers. If I understand correctly Docker is using another library called libcontainer now to provide isolation.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.