How can I make a local docker container?

I installed Docker and kitematic. I had VirtualBox before that and used many machines on Vbox. Docker is working, I can pull containers and other stuff like that. Like this link :
I can add containers by:

<i> docker run docker/whalesay cowsay boo </i>

I want to know if there is any way that I can import some of my Vbox machines into docker as a Container locally?
I have ova and ovf file in my local pc. I don’t wanna get involved with online containers! Is there any way to accomplish this.
Thank you.

  • docker not working after update
  • How to run a Windows GUI application from a Windows VM on a Docker installed on windows?
  • docker-compose up leads to “client and server don't have same version (client : 1.14, server: 1.12)” error but client and server have the same version
  • docker-machine connect to existing machine
  • docker within-container port forwarding
  • DNS settings don't work in Docker CE
  • Docker error & Lagom conduct visualization
  • Disable ip v6 in docker container
  • Docker 1.12 Swarm Mode - Load balance tasks of the same service on single node
  • Dockerfile for cloning private git repo
  • Delete logs of containers docker for mac
  • How to connect mysql in a rails appliation with docker?
  • One Solution collect form web for “How can I make a local docker container?”

    Looks like you have some confusion on the concept of a container.

    A container is not a virtual machine.

    You can’t import virtual machines into Docker. What you can do is build and run a Docker container which eliminates the need for a virtual machine (depending on your use case of course).

    You can find a good explanation about the difference between a container and a virtual machine here.


    Both virtual machines and containers allow you to run multiple applications on a shared hardware.

    When using virtual machines, the hardware is shared among all applications, however each application runs on a separate operating system.

    When using containers, both the hardware AND the operating system are shared, and each application runs in a separate container.

    This is in no way an exhaustive explanation regarding Docker containers – there are MANY more advantages to using Docker instead of a virtual machine (portability, consistency, infrastructure-as-code). This is just the main difference between them.

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