I need to do the following: do a docker run if an image and then inside that container(Container 1), do a docker run of another image. I have been researching on how to do this and have found that I need to bind mount /usr/bin/docker and var/run/docker.sock. However when I run that inside Container1 when I run docker i see the foll error:
[root@rvm /]# docker
docker: error while loading shared libraries: libsystemd-journal.so.0: cannot open shared object file: No such file or directory
Upon searching for this error, I added few more -v to the docker run of Container 1 namely:
-v /lib64/libdevmapper.so.1.02:/usr/lib/libdevmapper.so.1.02 \
but still see the same error…
Do I need to do something else. Pls. advise ASAP.
FYI…I’m using RHEL 7