简体   繁体   中英

why docker container is not runnig in windows?

Help me friends, please. I'm a noob in docker.

I'm working with laravel an create project with Docker in location.

root@VIGIA-PC:/mnt/d/projects/fastfood-app/fastfood-api#

docker was working but when I shut down my pc, and then I turn on it, the docker container is not running, why?

在此处输入图像描述

when I go to to the project folder and type ls no appear files from debian terminal, when I going to windows they are here.

在此处输入图像描述

I runned docker ps and show the follow: 在此处输入图像描述

Information

  • windows version 10
  • distro linux debian
  • build 19042
  • Docker version 20.10.2, build 2291f61

You'll have to change the behavior of your docker apps.

If the host is being restarted, so are the containers running on it: https://docs.docker.com/config/containers/start-containers-automatically/

I have already solved my problem.that was a problem from path

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM