Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

ps command not found in docker container

Posted on 8 October 2018 by kosmas
Email this to someone
email
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Problem

You are trying to run the ps command in a docker container (ie ps ax), but you get:

Shell
1
bash: ps: command not found

Solution

Shell
1
apt install procps

Taken from the answer here

This entry was posted in Docker, linux and tagged docker, linux, ps by kosmas. Bookmark the permalink.
Proudly powered by WordPress