docker / docs

Source repo for Docker's Documentation
https://docs.docker.com
Apache License 2.0
4.19k stars 7.34k forks source link

`docker container run` does not appear in the sidebar #21068

Open strugee opened 1 month ago

strugee commented 1 month ago

Is this a docs issue?

Type of issue

There's a problem with the website

Description

The reference for docker container run does not appear under Reference > CLI Reference > docker > docker container.

You can confirm this by visiting https://docs.docker.com/reference/cli/docker/container/run/; notice that nothing in the sidebar is highlighted in gray, but if you click into another page under docker container, that page is highlighted.

Location

https://docs.docker.com/reference/cli/docker/container/run/

Suggestion

No response

thaJeztah commented 1 month ago

@dvdksn PTAL this is something I noticed as well. Previously, we included at least the "common" short-hand commands at the top level;

docker --help

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
  run         Create and run a new container from an image
  exec        Execute a command in a running container
  ps          List containers
  build       Build an image from a Dockerfile
  pull        Download an image from a registry
  push        Upload an image to a registry
  images      List images
  login       Authenticate to a registry
  logout      Log out from a registry
  search      Search Docker Hub for images
  version     Show the Docker version information
  info        Display system-wide information

...

It looks like we're no longer doing that; Image

Which could be "ok", but for some commands we shorthand alias for the navigation, which now means that docker run is shown, and (probably sorted alphabetically) appearing all the way at the bottom;

Image