Find Where Docker Container Was Started

  • Inspect the Docker container
  • Filter output to show working_dir label
  • Identify the host directory where the container was started
docker
docker inspect nginxphpfpm | grep "com.docker.compose.project.working_dir"