Conjur: When running the command to start the Conjur Docker image, there is an error with seccomp.json

Conjur: When running the command to start the Conjur Docker image, there is an error with seccomp.json

125
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:59 PM


Symptom


During the Conjur appliance deployment, there is a step to configure computing mode. There are two options, one being to load the profile and the other option to run unconfined (--security-op seccomp=unconfined). Running the docker command with unconfined 'sudo docker run -d --security-opt seccomp=unconfined registry.tld/conjur-appliance:12.3.0' works fine, but when running the actual container:

sudo docker run \
>     --name lab-conjur \
>     --detach \
>     --restart=unless-stopped \
>     --security-opt seccomp=/opt/cyberark/dap/security/seccomp.json \
>     --publish "443:443" \
>     --publish "444:444" \
>     --log-driver journald \
>     --volume /opt/conjur/config:/etc/conjur/config:Z \
>     --volume /opt/cyberark/dap/security:/opt/cyberark/dap/security:Z \
>     --volume /opt/cyberark/dap/seeds:/opt/cyberark/dap/seeds:Z \
>     --volume /opt/cyberark/dap/logs:/var/log/conjur:Z \
>     registry.tld/conjur-appliance:12.3.0

This returns an error, '/usr/bin/docker-current: opening seccomp profile (/opt/cyberark/dap/security/seccomp.json) failed: open /opt/cyberark/dap/security/seccomp.json: no such file or directory'

 


Environment


12.0;12.1;12.2 Conjur docker appliance

Cause


The '/opt/cyberark/dap/security/seccomp.json' can't be read because it likely was not created

Resolution


* Review this documentation on creating a security profile

* It is recommended to create a seccomp.json file. The content can be copied from here

* The docker run command to create the container should now be successful


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000018zeCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail