当我们将其与Windows一起使用时,Docker图像和容器在哪里存储? [英] Where are docker images and containers stored when we use it with Windows?

查看:103
本文介绍了当我们将其与Windows一起使用时,Docker图像和容器在哪里存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注意:对于Windows和Docker来说,这是一个超新功能。



我一直在使用的教程说他们在 / var / lib / docker / containers 如果我们使用Linux,但我似乎没有在我的Windows机器上找到。



谢谢! / p>

解决方案

输入docker-machine with

  docker-machine ssh 

那里你应该找到你的容器。

  sudo ls / var / lib / docker / containers 


NOTE: Am super new to both Windows and Docker

The tutorial I've been using says that they are under /var/lib/docker/containers if we're using Linux, but I can't seem to find that on my Windows machine.

Thanks!

解决方案

Enter docker-machine with

docker-machine ssh 

there you should find your containers.

sudo ls /var/lib/docker/containers

这篇关于当我们将其与Windows一起使用时,Docker图像和容器在哪里存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆