Closed salsa-dev closed 4 years ago
It took me a bit of time to find out the way configuration from BUCC goes to Docker CPI.
Here is the config that works:
vim src/bosh-deployment/docker/cpi.yml
- type: replace
path: /resource_pools/name=vms/cloud_properties?
value:
restartpolicy:
name: always
i think this should be fixed in the upstream bosh-deployment so i would recommand to create a PR for them
any update on this?
closing due no activity please reopen if problem still remains
After
bucc up --cpi docker
the docker container starts.If the machine is rebooted or the docker service is restarted the bucc container doesn't restart.
Suggestion is to enable usage of docker restart policy as descibed here https://docs.docker.com/config/containers/start-containers-automatically/