I was having docker containers running in UBUNTU16.04 LTS machine but unfortunately, HDD crashed and I lost some of the data in bad sectors. but I backed up almost 90% data successfully.
I want to copy all the containers from backup to newly installed UBUNTU18.04 LTS
I tried to chroot in the home of the backup but I am not able to start Docker demon running in it
root@a-Lenovo-IdeaPad-Z510:~# chroot /home/a/Documents/Mangesh/backup_root/
root@a-Lenovo-IdeaPad-Z510:/# docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
root@a-Lenovo-IdeaPad-Z510:/# service docker status
* Docker is not running
root@a-Lenovo-IdeaPad-Z510:/# service docker start
* Starting Docker: docker [ OK ]
root@a-Lenovo-IdeaPad-Z510:/# service docker status
* Docker is not running
is it possible to copy docker container file to newly installed docker directories to get a container running
Old OS - UBUNTU16.04 LTS
NEW OS - UBUNTU18.04 LTS