Hi,

I am trying to use the foreman-docker plugin to start docker containers. To simplify the orchestration of the docker environment and to build a cluster my aim is to run a container with the Rancher Server container and to connect multiple hosts with the rancher-agent container.

I managed to start and stop the container for the rancher-server, however I did not find an option to provide the portforwarding usually done in "docker run" with -p or --publish to make the webinterface of rancher (or other webservices) available outside of the docker network.

Besides this also volumes or links to directories outside of the container may be needed which can be done with -v in "docker run", as well -d or other environment options.

In the last step of creating a container environment variables can be given, but it seems these environment variables are only for the environment inside the container and not for things like the port forwarding I need.

Is there a way to provide these options or is is not implemented so far?

Cheers

Jonas


<———>
Jonas Trüstedt

ATIX - The Linux & Open Source Company
www.atix.de <http://www.atix.de/>

--
You received this message because you are subscribed to the Google Groups "Foreman 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to