Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Attempting to create privileged containers produces an opaque error #539

Closed
arrdem opened this issue Dec 21, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@arrdem
Copy link

arrdem commented Dec 21, 2021

Describe the bug
It would appear that the privileged: true flag in the docker-compose manifest format isn't supported. Rather than producing an error to this effect, the daemon seems to encounter an internal failure and produces a user-opaque error which had to be isolated by bisecting a services list.

To Reproduce
Steps to reproduce the behavior:
docker-compose format spec -

service:
  db2:
    image: ibmcom/db2:11.5.4.0
    container_name: divebell_db2_1
    restart: always
    privileged: true
    environment: {}
    volumes: []
    ports:
      - 50000:50000
$ exo apply docker-compose.yml
Error: posting: Post "http://localhost:43643/_exo/workspace/apply?id=e9tens6phhessw300s45pvy9fr": EOF
posting: Post "http://localhost:43643/_exo/workspace/apply?id=e9tens6phhessw300s45pvy9fr": EOF

Expected behavior
An error stating that privileged containers are not supported, or that they're a bad idea and don't do that.

System Info (please complete the following information):

  • OS: Ubuntu
  • Component: CLI/daemon
  • Version: 2021.11.16
@arrdem arrdem added bug Something isn't working needs triage Incoming request that needs to be triaged and prioritized labels Dec 21, 2021
@BenElgar
Copy link
Contributor

Hi @arrdem! Thank you for reporting that. I believe I've successfully reproduced and pushed a fix here: #540

@brandonbloom brandonbloom removed the needs triage Incoming request that needs to be triaged and prioritized label Feb 28, 2022
@arrdem arrdem closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants