Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description



One dockerfile working for keystone/swift/horizon and compatible with Object Storage Clients like Cyberduck.
To run the container, provide your ip address as an environment variable (ex : localhost or boot2docker ip)

Here is a sample command to run :

docker run -P -p 80:80 -p 8080:8080 -p 5000:5000 -p 35357:35357 -p 8000:8000 -d -e INITIALIZE=yes -e IPADDRESS= --name swift predicsis/dockswift

Temp url settings :

docker exec -it swift swift post -m "Temp-URL-Key:temp_url_key" -V 2 --os-auth-url='http://localhost:5000/v2.0' --os-username='swift' --os-password='swift' --os-tenant-name='service'


80:80 - To connect to the horizon dashboard

5000:5000 - To connect to keystone using external clients

35357 - To connect to keystone using admin url

8080:8080 - To access to Object Storage after Keystone authentication

8000:8000 - To connect to Swiftbrowser


/etc/mysql - configurations for mysql.

/var/lib/mysql - The actual database. This will make the openstack database persistant between reboots.

/etc/keystone - Configuration for keystone.

/etc/openstack-dashboard - Configuration for django.

/srv - Volume for Swift Object Storage.

Environment Variables

INITIALIZE=yes This sets executes the sql statements in /usr/local/etc

IPADDRESS=localhost or IPADDRESS= (boot2docker ip) This sets the endpoint of Swift for Keystone. It allows the use of external Swift Clients using Keystone


To access to your Storage through Cyberduck, you can download the preconfigured settings here :

Then configure :

 Server : (your ip address)
 Port : 5000
 Username : (tenant name):(user name)
 Password : (user password)


To access to swiftbrowser, open "http://(your ip address):8000/" in your browser and use 'admin:admin' (Username) and 'openstack' (Password) to login (default ids)


To access to Horizon, open "http://(your ip adress)/" in your browser and use 'admin' (Username) and 'openstack' (Password) to login (default ids)

Docker Pull Command
Source Repository