Puppet in Docker: docker: Error response from daemon: Container command '/opt/puppetlabs/bin/puppet' not found or does not exist..

0 votes

I get the following error on running the command:

docker run ubuntu /opt/puppetlabs/bin/puppet resource package

Here's the Error:

docker: Error response from daemon: Container command '/opt/puppetlabs/bin/puppet' not found or does not exist..

Can somebody help me in resolving this?

Aug 20 in Puppet by Liana
41 views

1 answer to this question.

0 votes

This error indicates that probably there is an issue with your puppet installation on a docker container.

Do ensure that puppet is properly installed in the docker container.

If you are mounting puppet in a volume that could be accessed by any docker container without having to explicitly install it, then cross check if that volume is properly mounted.

This might sometimes occur because you are trying to run puppet without mounting the volume containing puppet software.

Hope this should help!

answered Aug 20 by Sirajul
• 38,820 points

Related Questions In Puppet

0 votes
1 answer

Puppet in Docker: Error while running the Puppet container

Try to uncomment the following lines in the definition ...READ MORE

answered Aug 19 in Puppet by Sirajul
• 38,820 points
24 views
0 votes
1 answer

Error: Puppet not found, when trying to run puppet config command.

This is because you have not added ...READ MORE

answered Sep 18 in Puppet by Sirajul
• 38,820 points
41 views
0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12 in Puppet by Jason
176 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,940 points
228 views
0 votes
1 answer
0 votes
1 answer