Migrating Docker containers

The InfoScale Enterprise product addresses the use cases where you only want to migrate Docker containers, which means only to migrate data. Since the Docker Daemon is not migrated, the node does not need to run the Cluster Server Agent for Docker Containers.

This section lists the manual steps to migrate Docker containers.

Figure: Migration of Docker containers

Migration of Docker containers

To configure the Docker containers using SFCFS

  1. Create a shared disk group and volume and do mkfs.

    # vxdg -s init dockdg disk1 disk2 disk3

    # vxassist -g dockdg make vol7 10G

    # mkfs -t vxfs /dev/vx/dsk/dockdg/vol7

  2. Mount the volume on each cluster node.

    # mount -t vxfs -o cluster /dev/vx/dsk/dockdg/vol7 /containervolume

  3. Write to a file on the mount point inside container.

    # docker run -it -v /containervolume:/datavolume

    rhel6 /bin/bash

    Where /containervolume is the storage provisioned to Docker containers and it is accessed inside containers under the /datavolume directory.