lcaflc/gandi.cli

By lcaflc

Updated about 7 years ago

Gandi CLI Docker container based on Alpine Linux

Image
3

4.5K

lcaflc/gandi.cli repository overview

lcaflc/gandi.cli

Gandi.cli

Gandi.cli is the command line tool used to manage from your shell you gandi account.

Official website: http://cli.gandi.net/.

Features

This image provide stable releases of the Gandi.cli as well as git master branch on official repo https://github.com/Gandi/gandi.cli. See the build logs for latest updates and more containers informations.

Below are the mappings:

GitHub BranchDocker TagGandi.cli versionDockerfile
masterlatestgit master branchmaster/Dockerfile
1.41.4stable 1.41.4/Dockerfile
1.3Oops forgot it
1.21.2stable 1.21.2/Dockerfile
1.01.0stable 1.01.0/Dockerfile
0.220.22stable 0.220.22/Dockerfile
0.210.21stable 0.210.21/Dockerfile
0.200.20stable 0.200.20/Dockerfile
0.190.19stable 0.190.19/Dockerfile
0.180.18stable 0.180.18/Dockerfile
0.170.17stable 0.170.17/Dockerfile
0.160.16stable 0.160.16/Dockerfile

Usage

The image start a bash inside the container. Once the container fired up you simply use the gandi command just like you have done on your system.

docker run -it --rm lcaflc/gandi.cli
Gandi.cli:~# gandi --version
Gandi CLI 0.18

Copyright: © 2014-2015 Gandi S.A.S.
License: GPL-3

Gandi.cli need that you have some configuration done in order to connect to their API (private API key, default datacenter, API url, ...). This is so recommended to have a persistent container for your cli and you have 2 methods to configure those:

  1. Start your container with a name and configure it using the gandi cli
docker run -it --name gandi.cli lcaflc/gandi.cli
Gandi.cli:~# gandi setup
...
  1. Use a VOLUME to map your existing configuration to the container
docker run -it --name gandi.cli -v ~/.config/gandi:/root/.config/gandi lcaflc/gandi.cli
Gandi.cli:~# gandi account
handle           : XXXX-GANDI
credits          :
...

When you quit your container bash shell it will stop. To easily respawn into your configured container you only need to start it and attach input/outputs

docker start -ia gandi.cli

License

This repo is published under the GPLv3 License

Tag summary

Content type

Image

Digest

Size

29.9 MB

Last updated

about 7 years ago

docker pull lcaflc/gandi.cli:arm-latest