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

Handle use of containerd driver type with elastic-agent images #1119

Open
jsoriano opened this issue Jan 27, 2023 · 1 comment
Open

Handle use of containerd driver type with elastic-agent images #1119

jsoriano opened this issue Jan 27, 2023 · 1 comment

Comments

@jsoriano
Copy link
Member

jsoriano commented Jan 27, 2023

Docker for Windows and Mac include a beta feature that enables the containerd storage for images. When this plugin is enabled, elastic-agent doesn't start, with an error like the following one:

/usr/local/bin/docker-entrypoint: line 14: exec: elastic-agent: not found

When this feature is enabled, it is available in docker info:

 Storage Driver: stargz
  driver-type: io.containerd.snapshotter.v1

Try to handle this in elastic-package. I see some options:

  • Use docker-compose to "fix" the permission issues if possible.
  • Detect if this driver type is used, and if elastic-package stack up fails, tell the user to disable this feature.

Issue mentioned also in elastic/elastic-agent#82 (comment).

@bplies-ATX
Copy link

A new reference in elastic/elastic-agent#82 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants