Problem
Terraform atlas container restarting continuously
Prerequisites
- tfe-atlas container (non-consolidated services)
- Terraform Enterprise
-
Docker Engine 1.13.1 from the Extra Packages for Enterprise Linux (EPEL) repository using a modified
libseccomp
profile
Cause
-
The root cause of the continuous container restarts lies in the misconfiguration of libseccomp settings. This misconfiguration leads to the following error within the tfe-atlas container:
-
bundler: command not found: puma
Install missing gem executables with `bundle install`
-
Solutions:
-
To address the continuous restart issue of the Terraform Atlas container, follow these steps:
Solution 1: Modify the libseccomp File. Adjust the libseccomp file settings as outlined below:
-
sudo sed -i 's/"defaultAction":\s*"SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/1' /etc/docker/seccomp.json
-
Outcome
The continuous restarts of the tfe-atlas container should be eliminated.
Additional Information
-
- For a more in-depth understanding of the topic, refer to HashiCorp's official documentation: Terraform Enterprise Requirements - Docker Engine Using a Modified Libseccomp Profile.
- For a more in-depth understanding of the topic, refer to HashiCorp's official documentation: Terraform Enterprise Requirements - Docker Engine Using a Modified Libseccomp Profile.