docker inspect --format '{{.HostConfig.Binds}}' myapp

Category: Docker

docker inspect --format '{{.HostConfig.Binds}}' myapp

Show a container's bind mounts

Lists the host paths bound into the container from its host config, revealing where volumes come from. Empty output means no bind mounts, only anonymous or named volumes. Compare with docker volume inspect.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.