Skip to content

Using Copilot with EFS to publish a public Docker image #2152

Answered by bvtujo
bvtujo asked this question in Q&A
Discussion options

You must be logged in to vote

@thstart if you need EFS for testing purposes, you can hydrate your filesystem in a couple of ways. First, and the recommended option, would be to use the command field in the manifest to override the default command. You could invoke a script which downloads data from S3 and puts it in your EFS volume, then launches your service.

The other option is to hydrate with a sidecar or a Scheduled Job. There are details below if you click the little arrow.

The manifest configuration would be much the same, and you'd have to copy your EFS files into either the sidecar image or the scheduled job image. This should fit your use case since you wouldn't necessarily publish either of those.

Sidecar d…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by efekarakus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant