getsops / getsops/sops

Can't use docker compose and sops together

Open
#1,470 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

I can't use docker compose and sops together, I don't know why

sops exec-file file.env "docker compose --env-file {} up -d"

hangs forever, but this works:

sops exec-file file.env "cat {}"

I've tried to use Podman instead of Docker and it worked, I need to use Docker not Podman.

Does anyone know what is going on?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported hang with sops exec-file file.env "docker compose --env-file {} up -d", then compare it with the working cat {} command and the Podman result. Done means identifying why Docker Compose hangs when invoked this way and determining a concrete fix or documented limitation for Docker Compose use.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.