Skip to content

Missing ps command? #1

@markalanboyd

Description

@markalanboyd

I was following along with your Docker tutorial using this image: https://hub.docker.com/r/acantril/containerofcats

Tutorial:
https://learn.cantrill.io/courses/docker-fundamentals/lectures/44151206

When I try to run the ps command, I get these errors:

docker exec -it 0bf660188232 ps -aux
OCI runtime exec failed: exec failed: unable to start container process: exec: "ps": executable file not found in $PATH: unknown

(and when in the shell of the container)

sh-4.4# ps -aux
sh: ps: command not found

Unsure if this is user error, but thought I'd point it out. Thank you!

Docker 4.21.0
Mac Mini M2 Pro
Ventura 13.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions