Closed capkuro closed 6 years ago
I solved that issue by installing the library (in another machine). I suggest to include it into the Dockerfile.
apt install libltdl-dev -y
Thank you @capkuro for fixing it and for documenting all the steps here :-)
Hi, I am Sebastián Rodríguez (the engineer working for Hector Allende), and in a previous step before reinstalling the OS on that machine, I remove, purge and then reinstall the latest version of docker (docker-ce).
This spawned this error when someone follows the steps in both of these documents: src/docker and DistributedMachineLearningThesis.
The first step I have done to remove this problem is adding Hector's user to the docker group:
sudo usermog -aG docker hallende
The second step I have done is that I noticed in the Dockerfile that
docker.io
is installed, which probably causes conflicts in the volume parameter of docker run:docker run --cpus 1 -tid -v /var/run/docker.sock:/var/run/docker.sock -v $DOCKERBIN:/usr/bin/docker -v /tmp/results:/DistributedMachineLearningThesis/src/results dmlt
.So I replaced line 18 of the Dockerfile with:
This should install the same version in both the container and GranColoso, mainly avoiding compatibility issues. Moreover, running the main container without this modification and without the
-v $DOCKERBIN:/usr/bin/docker
parameter shows the following results:The last line shows the potential incompatibility problem, given that the installed version of docker shows the following output:
Docker version 18.06.1-ce, build e68fc7a
.Now with the proposed correction in the Dockerfile and the instructions of src/docker in the Julia console I get these results:
Finally, following the instructions of the root folder of the repository I am getting these results:}
I do not know if those are the results you are looking for, but at least there is no error with docker. Kind regards
Sebastian Rodriguez.