Tag: 窗户

Docker在Windows 10. E:无法find包。 返回非零代码123

我在使用Windows 10时遇到了一些问题。欢迎任何帮助。 我最近从OSX切换到Windows,因为我有一个新的公司笔记本电脑。 当我运行docker我遇到了以下错误。 (我们的网站主要是用Python编写的)。 E: Unable to locate package build-essential E: Unable to locate package python-dev E: Unable to locate package python-setuptools E: Unable to locate package python-pip E: Unable to locate package libpq-dev E: Unable to locate package graphviz E: Unable to locate package libgraphviz-dev E: Unable to locate package pkg-config E: Unable […]

CV2安装Docker Windows(OpenCV)

我在Windows上安装了Docker来支持张量stream。 当我在基于docker的jupyter上运行Python时,由于需要OpenCV模块,所以我面临着一个代码问题。 对于安装任何其他必需的模块,我只是简单地使用Jupyter Docker上的terminal并使用pip安装,但是我无法通过相同的方法安装opencv。 有人可以请帮助一种方法来安装在基于Docker的jupyter的Opencv?

Docker for PHP – 403 Forbidden

今天我决定从stream浪汉转移到Docker,但是当访问localhost:8080时,我得到了一个403 Forbidden错误。 我的文件结构: learning-php // root folder dockerconfig virtualhosts.conf web index.php docker-compose.yml 这是我的docker-compose.yml文件: web: image: php:7.0-apache ports: – "8080:80" volumes: – .:/var/www/html – ./dockerconfig/virtualhosts.conf:/etc/apache2/sites-enabled/virtualhosts.conf links: – mysql mysql: image: mysql:5.7 ports: – "3307:3306" environment: MYSQL_ROOT_PASSWORD: 123456 MYSQL_USER: dev MYSQL_PASSWORD: 123456 MYSQL_DATABASE: mydb 这是我的dockerconfig / virtualhosts.conf文件: <VirtualHost *:80> ServerName localhost DocumentRoot /var/www/html/web DirectoryIndex index.php <Directory /var/www/html/web> […]

当我在Docker中运行`docker run hello-world`时,连接的主机没有响应

Docker(版本0.6)的最新版本已经通过安装包docker docker toolbox安装在笔记本电脑(Windows 10 LTSB)中。 这似乎是正确安装,因为我看到docker的标志,当我启动docker quickstart terminal 。 而当我运行docker run hello-world ,它会返回 $ docker run hello-world D:\Program Files\Docker Toolbox\docker.exe: An error occurred trying to connect: Post https://192.168.99.100:2376/v1.24/containers/create: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected […]

Docker在Windows上启动时出现问题

我正在运行试图在Windows 10上运行docker build: D:\mds>docker-compose –file=docker-compose.yml up -d Starting mds_data_1 Starting mds_memcached_1 Starting mds_mongo_1 Starting mds_mysql_1 Starting mds_fc_1 Starting mds_succeed_1 Starting mds_haproxy_1` 但fc_1没有启动,当我运行: docker logs mds_fc_1 ,我看到: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/D/~mds\\\" to rootfs \\\"/var/lib/docker/overlay2/f483546b2e19d0860971307b8cc813bad6ca683f3ebd90c36d89974444d7b75b/merged\\\" at \\\"/var/www/applications/mds\\\" caused \\\"stat /D/~mds: input/output error\\\"\"" container_linux.go:247: starting container process caused "process_linux.go:359: container […]

在Windows上使用docker进行卷绑定

我最近在Windows 10上升级了我的Docker Toolbox,现在我的卷挂载不再工作。 我已经尝试了一切。 这里是目前的安装path: volumes: – C:\Users\Joey\Desktop\backend:/var/www/html 我收到一个无效的绑定安装错误。

在Windows上的多克斯多级COPY C:\窗户不允许

我正在尝试在一个docker容器中安装vsbuildtools for windows。 不幸的是,即使安装了installPath,安装程序也随处安装。 因此,我必须这样做 Step 27/32 : COPY –from=SetupPhase C:\Windows C:\Windows 但它给了我这个错误: docker : COPY failed: copy from c:\ or c:\windows is not allowed on windows At line:1 char:1 + docker build -m 2GB -t monamimani/msbuild . + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (COPY failed: co…owed on windows:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError […]

无法安装windowsServerCore容器图像

我正在尝试使用下面的命令在我的WIndows 2016服务器上安装windowsServercore映像。 Install-containerImage WindowsServerCore 运行时得到下面的错误信息。 Install-ContainerOSImage : The term 'Install-ContainerOSImage' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. 发现从文章有一个工作 https://social.msdn.microsoft.com/Forums/en-US/fc571caf-af13-45ed-a021-cfcfcf532645/the-term-installcontainerosimage-is-not-recognized-as-the-name-of-a- cmdlet的上build造-构build- 14385?=论坛windowscontainers 在运行新文章中的命令的同时,获取不同的错误消息。 docker load -i nanoserver.tar.gz […]