Will is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

who though about making the docker api return a 404 when the command running inside a container doesn't exist

the api endpoint is found
the container and image are found
the requested action is invalid

feels wrong and unpractical to catch

Will @wspurgin

@CobaltVelvet yeah a bit unintuitive, but from a REST perspective it makes some sense. If a container, image and a command are considered entities then a request like /containers/:container_id/images/:image_id/commands/:id/run where the command doesn't exist should return a 404 by the REST standard.

That being said, the docker api doesn't format the request that way which makes it unintuitive.