[Openstack-operators] [openstack] [tools] OpenStack client in a Docker container
Hi all, When you reinstall workstations or test environments as often as I do, you would like to automate everything... or containerize it. So, I packaged the OpenStack client in a Docker container on Ubuntu and CentOS. And to make it more convenient, I added Lars's 'stack' helper tool. Just have a look at the registry [1] or the source [2]. Usage is as easy as: Store your stackrc in ~/.stack named as an endpoint; e.g. ~/.stack/trystack $ docker pull gbraad/openstack-client:centos $ alias stack='docker run -it --rm -v ~/.stack:/root/.stack gbraad/openstack-client:centos stack' $ stack trystack openstack server list Comments welcomed... regards, Gerard [1] https://hub.docker.com/r/gbraad/openstack-client/ [2] https://github.com/gbraad/docker-openstack-client/ -- Gerard Braad | http://gbraad.nl [ Doing Open Source Matters ] ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container
> Usage is as easy as: > $ docker pull gbraad/openstack-client:centos Just now I added an Alpine-based image $ docker pull gbraad/openstack-client:alpine Hope this is also useful to you. -- Gerard Braad | http://gbraad.nl [ Doing Open Source Matters ] ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container
Cool. Maybe this could be contributed to the Kolla project? Thanks, Kevin From: Gerard Braad Sent: Monday, June 27, 2016 8:58:18 PM To: openst...@lists.openstack.org; openstack-operators Subject: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container Hi all, When you reinstall workstations or test environments as often as I do, you would like to automate everything... or containerize it. So, I packaged the OpenStack client in a Docker container on Ubuntu and CentOS. And to make it more convenient, I added Lars's 'stack' helper tool. Just have a look at the registry [1] or the source [2]. Usage is as easy as: Store your stackrc in ~/.stack named as an endpoint; e.g. ~/.stack/trystack $ docker pull gbraad/openstack-client:centos $ alias stack='docker run -it --rm -v ~/.stack:/root/.stack gbraad/openstack-client:centos stack' $ stack trystack openstack server list Comments welcomed... regards, Gerard [1] https://hub.docker.com/r/gbraad/openstack-client/ [2] https://github.com/gbraad/docker-openstack-client/ -- Gerard Braad | http://gbraad.nl [ Doing Open Source Matters ] ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container
Looks awesome, it has to be really useful. Thanks! On Tue, Jun 28, 2016 at 2:41 PM, Fox, Kevin M wrote: > Cool. Maybe this could be contributed to the Kolla project? > > Thanks, > Kevin > > -- > *From:* Gerard Braad > *Sent:* Monday, June 27, 2016 8:58:18 PM > *To:* openst...@lists.openstack.org; openstack-operators > *Subject:* [Openstack-operators] [openstack] [tools] OpenStack client in > a Docker container > > Hi all, > > > When you reinstall workstations or test environments as often as I do, > you would like to automate everything... or containerize it. So, I > packaged the OpenStack client in a Docker container on Ubuntu and > CentOS. And to make it more convenient, I added Lars's 'stack' helper > tool. Just have a look at the registry [1] or the source [2]. > > Usage is as easy as: > > Store your stackrc in ~/.stack named as an endpoint; e.g. ~/.stack/trystack > $ docker pull gbraad/openstack-client:centos > $ alias stack='docker run -it --rm -v ~/.stack:/root/.stack > gbraad/openstack-client:centos stack' > $ stack trystack openstack server list > > Comments welcomed... > > regards, > > > Gerard > > [1] https://hub.docker.com/r/gbraad/openstack-client/ > [2] https://github.com/gbraad/docker-openstack-client/ > > -- > >Gerard Braad | http://gbraad.nl >[ Doing Open Source Matters ] > > ___ > OpenStack-operators mailing list > OpenStack-operators@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators > > ___ > OpenStack-operators mailing list > OpenStack-operators@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators > > -- Best regards, Ihor Dvoretskyi ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container
Gerard, Yup we would take it in Kolla. Prevents dirtying a system for CLI based operations. Regards -steve From: "Fox, Kevin M" mailto:kevin@pnnl.gov>> Date: Tuesday, June 28, 2016 at 4:41 AM To: Gerard Braad mailto:m...@gbraad.nl>>, "openst...@lists.openstack.org<mailto:openst...@lists.openstack.org>" mailto:openst...@lists.openstack.org>>, openstack-operators mailto:openstack-operators@lists.openstack.org>> Subject: Re: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container Cool. Maybe this could be contributed to the Kolla project? Thanks, Kevin From: Gerard Braad Sent: Monday, June 27, 2016 8:58:18 PM To: openst...@lists.openstack.org<mailto:openst...@lists.openstack.org>; openstack-operators Subject: [Openstack-operators] [openstack] [tools] OpenStack client in a Docker container Hi all, When you reinstall workstations or test environments as often as I do, you would like to automate everything... or containerize it. So, I packaged the OpenStack client in a Docker container on Ubuntu and CentOS. And to make it more convenient, I added Lars's 'stack' helper tool. Just have a look at the registry [1] or the source [2]. Usage is as easy as: Store your stackrc in ~/.stack named as an endpoint; e.g. ~/.stack/trystack $ docker pull gbraad/openstack-client:centos $ alias stack='docker run -it --rm -v ~/.stack:/root/.stack gbraad/openstack-client:centos stack' $ stack trystack openstack server list Comments welcomed... regards, Gerard [1] https://hub.docker.com/r/gbraad/openstack-client/ [2] https://github.com/gbraad/docker-openstack-client/ -- Gerard Braad | http://gbraad.nl [ Doing Open Source Matters ] ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org<mailto:OpenStack-operators@lists.openstack.org> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators