How to provide the docker run arguments in foreman-docker?

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/>

Hi,

since there were no responses to the questions regarding the usability
of the docker-plugin to provide them with necessary options
(https://groups.google.com/d/msg/foreman-users/FCKBc29T038/xoYbfZVGBAAJ
and
https://groups.google.com/d/msg/foreman-users/SMSLMqUOSn8/ntZ0_fncCQAJ)
and I did not find anything new I wonder if it is possible to deactivate
or disable the foreman-docker plugin.

Since it is required by katello, it is not possible not to install it
but maybe there is a way to disable it and remove it from the GUI? Has
anyone done this before or is it currently not possible?

Cheers,

Jonas

<———>
Jonas Trüstedt

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

The katello plugin does not rely on any functionality in foreman-docker
plugin, afaik, so it should be safe to remove in your setup. Katello
manages container images through pulp while the foreman-docker plugin is
meant to run containers.

··· On Tue, Apr 11, 2017 at 2:02 AM, Jonas Trüstedt wrote:

Hi,

since there were no responses to the questions regarding the usability of
the docker-plugin to provide them with necessary options (
https://groups.google.com/d/msg/foreman-users/FCKBc29T038/xoYbfZVGBAAJ
and https://groups.google.com/d/msg/foreman-users/SMSLMqUOSn8/ntZ0_fncCQAJ)
and I did not find anything new I wonder if it is possible to deactivate or
disable the foreman-docker plugin.

Since it is required by katello, it is not possible not to install it but
maybe there is a way to disable it and remove it from the GUI? Has anyone
done this before or is it currently not possible?

Cheers,

Jonas

<———>
Jonas Trüstedt

ATIX - The Linux & Open Source Company
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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Is there any reason, why the "Require: foreman_docker" dependency is then specified in Katello RPM?

If there isn't a hard dependency, wouldn't it make sense to remove it for one of the next Katello releases?

(it would be really great to "disable" a plugin so that it will not be displayed in the UI anymore)

··· Von: "Tom McKay" An: foreman-users@googlegroups.com Gesendet: Dienstag, 11. April 2017 13:51:48 Betreff: Re: [foreman-users] Possibility to deactivate foreman-docker plugin?

The katello plugin does not rely on any functionality in foreman-docker plugin, afaik, so it should be safe to remove in your setup. Katello manages container images through pulp while the foreman-docker plugin is meant to run containers.

On Tue, Apr 11, 2017 at 2:02 AM, Jonas Trüstedt < truestedt@atix.de > wrote:

Hi,

since there were no responses to the questions regarding the usability of the docker-plugin to provide them with necessary options ( https://groups.google.com/d/msg/foreman-users/FCKBc29T038/xoYbfZVGBAAJ and https://groups.google.com/d/msg/foreman-users/SMSLMqUOSn8/ntZ0_fncCQAJ ) and I did not find anything new I wonder if it is possible to deactivate or disable the foreman-docker plugin.

Since it is required by katello, it is not possible not to install it but maybe there is a way to disable it and remove it from the GUI? Has anyone done this before or is it currently not possible?

Cheers,

Jonas

<———>
Jonas Trüstedt

ATIX - The Linux & Open Source Company
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 foreman-users+unsubscribe@googlegroups.com .
To post to this group, send email to foreman-users@googlegroups.com .
Visit this group at https://groups.google.com/group/foreman-users .
For more options, visit https://groups.google.com/d/optout .


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 foreman-users+unsubscribe@googlegroups.com .
To post to this group, send email to foreman-users@googlegroups.com .
Visit this group at https://groups.google.com/group/foreman-users .
For more options, visit https://groups.google.com/d/optout .