[Openstack] how to use swift in another container

Jaln valiantljk at gmail.com
Tue Oct 24 21:30:47 UTC 2017


Hello,

I have installed swift in a docker container, and opened another container,
where I want to use swift.

Here is how I configured swift container:
I followed https://hub.docker.com/r/morrisjobke/docker-swift-onlyone/

and launched this swift container with:

docker run -d -p 12345:8080 --volumes-from SWIFT_DATA -t
morrisjobke/docker-swift-onlyone


Then, I can connect to swift from host, but not from another container,
e.g.,


swift -A http://127.0.0.1:12345/auth/v1.0 -U test:tester -K testing stat



While in another container:
docker run -it ubuntu bash

How can I use swift?

Best,
Jialin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20171024/347a631c/attachment.html>


More information about the Openstack mailing list