On the understanding, from #docker
on IRC, that the basex
container from docker hub died after starting up, how do I now make it run something which doesn't immediately exit?
I'm only trying to get a bash
prompt at this point:
docker run -ti --link basexhttp:basexhttp basex/basexhttp:latest basexclient -nbasexhttp
results in:
docker: Error response from daemon: Cannot link to a non running container: /basexhttp AS /charming_villani/basexhttp.
per the basex
official doc's.
In trying to add docker logs I've tried:
sudo journalctl -fu docker.service
but will have to look into that a bit as there was no output.
trying a network as suggested:
root $
root $ docker network create -d bridge basexhttpnetwork
74c94db9195cf2b671123d016a9082f4aeacbbcef6ed91e4252744afba45d529
root $
root $ docker run -ti --name basexhttp --network=basexhttpnetwork basex/basexhttp:latest basexclient -nbasexhttp
docker: Error response from daemon: Conflict. The container name "/basexhttp" is already in use by container "2473f440e93855f967482aed405c30796a779d3592bd66a00fe48c2131b43a5e". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
root $