puppetlabs / puppetlabs/puppetlabs-docker

docker_run returns no such file or directory - docker

Open
#886 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug community
Dominant language
Ruby
Stars
94
Forks
337
Avg merge
11d 15h
Merged PRs (30d)
2

Description

Still working on root causing this. If I try to apply a manifest with docker::run included (fresh host build) it will error out with no such file or directory - docker. If I remove just this portion (docker::run) everything work as expected. I was expecting the relationships (https://github.com/puppetlabs/puppetlabs-docker/blob/main/manifests/init.pp#L635) to let this behave but have not generated a dependency/relation graph from puppet to review yet either.

Ideally one would be able to rebuild a host and not need to temporarily edit or remove a manifest to complete a rebuild.

CentOS 7.9/9.1
Puppet 6.28.0

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 with manifests/init.pp around line 635 and reproduce the failure by applying a manifest containing docker::run on a fresh CentOS host. Inspect the Puppet dependency or relationship graph, then verify that a host rebuild completes without removing docker::run or encountering "no such file or directory - docker".

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ruby
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.