`http GET "http://localhost:4243/containers/json"
https://blog.trifork.com/2013/12/24/docker-from-a-distance-the-remote-api/`
docker build -t my-image .
docker run -p 50051:50051 -it my-image
docker run -p 50051:50051 --entrypoint "/bin/bash" -it alexitc/lssd
docker run --network host -it alexitc/lssd
docker run --rm
-v $(pwd)/out:/out \
-v $(pwd)/src/lightningswapsdaemon/Protos:/protos
pseudomuto/protoc-gen-doc
docker cp foo.txt containerid:/foo.txt
docker cp containerid:/foo.txt foo.txt
docker inspect -f '{{.Id}}' 9738b4400d9d
Apparently you need to have this line on the /etc/nsswitch.conf
, or the --host
option won't work: hosts: files dns