Debug/Troubleshooting Bootstrap containers #2168
-
I am trying to use a bootstrap container to setup an ephemeral disk to use for container images (as discussed here: #1991). Modified the setup script a little as the one shown in the discussion above is based on using an instance store:
But the above isn't working. Even the output statements to Is there a method for troubleshooting bootstrap containers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You should be able to see the output of your bootstrap container in the journal. Also, instead of writing to |
Beta Was this translation helpful? Give feedback.
-
Thanks. That solved it. My issue was a combination of issues with not specifying the correct source URL (runtime doesn't assume default pulls are from docker.io) as well as cross platform issues (running M1 so had to ensure I built my bootstrap container for amd64). |
Beta Was this translation helpful? Give feedback.
You should be able to see the output of your bootstrap container in the journal. Also, instead of writing to
/.bottlerocket/rootfs/tmp
try to write to/.bottlerocket/bootstrap-containers/current
sincetmp
might not be accessible by the SELinux label used in bootstrap containers.