Ask Your Question
0

Pass parameters to docker container in Murano

asked 2016-09-05 09:08:42 -0500

gkiko gravatar image

I'm moving from Rancher to Murano. The problem I face is that I can't link(e.g. --link "my-db:db") containers nor attach volumes(e.g. -v /src/webapp:/opt/webapp) to Docker container from openstack's web console. Rancher is more flexible when it comes to container management but my company abandoned it in favor of openstack Murano.

I'm wondering how can I manage my container infrastructure in Murano without logging in every instance and setting it up manually? For example I want to deploy https://hub.docker.com/_/sentry/ (sentry) which is super easy to set up in Rancher.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-03 13:34:17 -0500

carlosedp gravatar image

To link containers, you can check Influx and InfluxDB applications from Murano apps repository (https://github.com/openstack/k8s-dock...). They implement a linked architecture between two containers and fetch information from each other.

Regarding other parameters, I've implemented a new version of the docker-container, docker-interface and standalone-host packages to support volume mapping in the format [HostDirectory]:[ContainerDirectory]. Ex. /srv/etc:/etc,/srv/log:/var/log.

I'm already implementing a way to pass additional parameters like "--restart always" and etc... It works but I've been trying to send the application's IP address to the container (to use on --hostname [IP]) for example but this is still unsuccessful.

edit flag offensive delete link more

Comments

If you are interested testing the Murano packages, let me know.

carlosedp gravatar imagecarlosedp ( 2016-10-07 16:30:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-05 09:04:57 -0500

Seen: 116 times

Last updated: Oct 03 '16