slimtoolkit / slimtoolkit/slim

Seccomp profiling of Mongo/postgres and others docker run not working

Open
#40 2 comments 0 reactions 1 assignee View on GitHub

@kcq is already working on this.

Since Oct 29, 2017.

triage WIP
Dominant language
Go
Stars
23.4k
Forks
840
PR merge metrics
No merged PRs in 30d

Description

Hi there!

i am trying to profile a mongo container
after creating the profile and executing the command
docker run --security-opt seccomp:/home/da5h/Desktop/dist_linux/.images/39f5c173b5d403baaf377eb0af4ad8b3db1952a18308b55d51fe56a7e67808e1/artifacts/mongo-seccomp.json
there is nothing, no errors no logs no running container
i just receive the bash console back and that's it

the same happens with postgres image and both are from the official docker hub

another issue that i've noticed:
if i try to execute the minified image of mongo i receive an error:
chown: invalid user: 'mongodb'
i guess the second issue is related to the non-root user issue but would like to confirm

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.