Im trying to start open62541 with docker-compose.
But I get the following error:
fatal/userland Unable to load file /opt/open62541/pki/created/server_key.der.
/opt/open62541 does not exist on the host.
However when running it directly with docker, not docker-compose it works.
Why does this error occur? What do I miss?
version: "3.9" services: OPCUA: image: open62541/open62541 user: "1000:1000" ports: - "4860:4840"
Docker run cmd:
sudo docker run -p 4840:4840 open62541/open62541
docker-compose version 1.29.2
Docker version 20.10.7
Does anyone have experience with running an open62541-Server under Docker/docker-compose? Is it even advisable to do so?