Home / Companies / CircleCI / Blog / Post Details
Content Deep Dive

Setting up Tricky Containers in CircleCI 2.0 Multi-Image

Blog post from CircleCI

Post Details
Company
Date Published
Author
Alexander Mann
Word Count
576
Language
English
Hacker News Points
-
Summary

The text provides a detailed account of dealing with third-party Docker containers, specifically Hashicorp's Vault, in CircleCI 2.0 environments. It highlights the challenges faced when attempting to access resources within containers that are not automatically included in the user's execution environment. The author describes a workaround using Python's SimpleHTTPServer to expose the filesystem of a Vault container, enabling access to the vault-token necessary for testing. This approach involves creating a custom Dockerfile that installs Python and sets up the server to run alongside Vault. The solution is integrated into a CircleCI configuration, allowing for seamless testing and deployment. The text also mentions publishing the customized container to Dockerhub for streamlined use in multi-image layer setups, ensuring efficient continuous deployment processes.