servicecatalog / oscm-dockerbuild

OSCM docker build files.
Apache License 2.0
3 stars 10 forks source link

OSCM installation error #328

Closed Piotr-K8i closed 3 years ago

Piotr-K8i commented 3 years ago

Version Info 19.0.2

Describe the bug Got the following error while installing OSCM, stopping the installation completely Couldn't find env file: /target/proxy/var.env

How to Reproduce Steps to reproduce the behavior:

  1. Install docker
  2. Install Docker compose
  3. Type: "sudo docker run --name deployer1 --rm -v /docker:/target -e SAMPLE_DATA=true servicecatalog/oscm-deployer"
  4. Configure var.env and .env
  5. Type: "docker run --name deployer2 --rm -v /docker:/target -v /var/run/docker.sock:/var/run/docker.sock -e INITDB=true -e STARTUP=true -e SAMPLE_DATA=true -e PROXY=true docker.io/servicecatalog/oscm-deployer"
  6. See error

Observed behavior Error display: Couldn't find env file: /target/proxy/var.env

Expected behavior No errors, containers are started

Screenshots image.png

Additional context The v19 version was also checked, it starts without any problems, without showing an error