skip to Main Content

How do I use Docker environment variable in ENTRYPOINT array? issue facing in Kubernetes ,not fetching the env variable,

We're using gitlab for CI/CD.I'll include the script which we're using services: - docker:19.03.11-dind workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "developer" || $CI_COMMIT_BRANCH == "stage"|| ($CI_COMMIT_BRANCH =~ (/^([A-Z]([0-9][-_])?)?SPRINT(([-_][A-Z][0-9])?)+/i)) when: always - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH ||…

VIEW QUESTION

Dockerfile vs docker-compose vs docker commands

According to some refs I read (https://dockerlabs.collabnix.com/beginners/difference-compose-dockerfile.html and Dockerfile FROM vs Docker-compose IMAGE), I understand them as: a. Dockerfile together with {docker build} is the build process, which specifies the basic image to be used and have a temp container…

VIEW QUESTION

Unable to establish connection with elasticsearch 8.1 (java) – Docker

I have elasticsearch 8.1 running in docker with this docker compose file: version: '3.7' services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.1.0 container_name: es-node environment: - xpack.security.enabled=false - discovery.type=single-node volumes: - ./elastic-data:/usr/share/elasticsearch/data ports: - 9200:9200 cap_add: - IPC_LOCK ulimits: memlock: soft: -1 hard: -1…

VIEW QUESTION
Back To Top
Search