Sign inSign up

gwerlas/openstack-client

By gwerlas

•Updated 3 days ago

Container image with OpenStack Client and some of its modules.

Image
Integration & delivery
0

10K+

gwerlas/openstack-client repository overview

⁠OpenStack Client

Container image with openstack-client⁠ and some of its modules.

GitLab Project : yoanncolin/container-images/openstack-client⁠.

⁠Tags

Check end of life dates⁠ before chosing your version :

ReleaseAlpineRebuildTagsSource
gazpacho⁠3.24Weeklygazpacho, 9.0.0, 9.0, 9, latestDockerfile⁠
flamingo⁠3.23Monthlyflamingo, 8.2.0, 8.2, 8Dockerfile⁠
epoxy⁠3.22Monthlyepoxy, 7.5.0, 7.5, 7Dockerfile⁠
dalmatian⁠3.20dalmatian, 7.1.4, 7.1Dockerfile⁠
caracal⁠3.19caracal, 6.6.0, 6.6Dockerfile⁠
antelope⁠3.17antelope, 6.2.0, 6.2Dockerfile⁠
zed⁠3.16zed, 6.0.0, 6.0, 6Dockerfile⁠
xena⁠3.15xena, 5.6.0, 5.6, 5Dockerfile⁠
wallaby⁠3.14wallaby, 5.5.1, 5.5Dockerfile⁠

⁠Embedded modules

⁠Usage

Show the version number or the help :

docker run gwerlas/openstack-client openstack --version
docker run gwerlas/openstack-client openstack --help

Using a RC file :

source ~/my/openstack.rc
docker run -t --rm \
  -e OS_AUTH_URL \
  -e OS_PROJECT_ID \
  -e OS_PROJECT_NAME \
  -e OS_USER_DOMAIN_NAME \
  -e OS_PROJECT_DOMAIN_ID \
  -e OS_USERNAME \
  -e OS_PASSWORD \
  -e OS_REGION_NAME \
  -e OS_INTERFACE \
  -e OS_IDENTITY_API_VERSION \
  gwerlas/openstack-client \
  openstack stack list

The container runs as the build user (non-root). When mounting local directories, the container process must be able to read the host files.

Using a pair of cloud.yaml and secure.yaml with Docker :

docker run -t --rm \
  --user $(id -u):$(id -g) \
  -e HOME=/home/build \
  -v $HOME/.config/openstack:/home/build/.config/openstack \
  -v $PWD:$PWD -w $PWD \
  -e OS_CLOUD=my-cloud \
  gwerlas/openstack-client \
  openstack stack list

With Podman :

podman run -t --rm \
  --userns=keep-id \
  -v $HOME/.config/openstack:/home/build/.config/openstack \
  -v $PWD:$PWD -w $PWD \
  -e OS_CLOUD=my-cloud \
  gwerlas/openstack-client \
  openstack stack list

⁠License

BSD 3-Clause License⁠.

Tag summary

Content type

Image

Digest

sha256:25461a5cb…

Size

158.9 MB

Last updated

6 days ago

docker pull gwerlas/openstack-client