skip to Main Content

Docker – Access array list item by name using jq

Consider the following json data, sourced from from Docker image nginx:1.25-bookworm: # docker pull nginx:1.25-bookworm # docker image inspect 81be38025439 | jq '.[].Config.Env' [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "NGINX_VERSION=1.25.3", "NJS_VERSION=0.8.2", "PKG_RELEASE=1~bookworm" ] # I would like to be able to access '1.25.3' from…

VIEW QUESTION

How to access to a Docker container in a Bitbucket pipeline

My Maven Java project needs to execute integration test in the following Bitbucket pipeline: learn-pipeline: - step: name: purpose merely learning about how pipeline is working services: - docker script: - docker run --detach --name some-mariadb --env MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 --env MARIADB_DATABASE=test…

VIEW QUESTION

docker: command not found in macos

I'm encountering an issue on my MacBook M1 Pro while using Jenkins. The problem is related to Docker not being found, despite having installed the Jenkins Docker plugin. Here are the details of my setup: MacBook Model: M1 Pro Jenkins…

VIEW QUESTION

Create Selenoid Image With DockerFile

I need to publish a Dockerfile that contains https://aerokube.com/selenoid. This has to be a Dockerfile so I can publish it to our container registry which will be used as a service container as part of the pipeline/text execution https://learn.microsoft.com/en-us/azure/devops/pipelines/process/service-containers?view=azure-devops&tabs=yaml Here…

VIEW QUESTION
Back To Top
Search