Tag: virtualbox

input/输出错误

我使用Docker创build文件并在虚拟机内部显示其内容: touch file.txt docker run \ –rm -it \ –volume $(pwd):/app \ –workdir /app \ alpine:3.6 \ sh -c '\ while : ; do \ cat file.txt ;\ sleep 1 ;\ done \ ' 然后我在本地更改文件: date > file.txt 一切都好。 但是当我在PhpStorm中更改文件时,我收到了大约20秒的错误消息: cat: can't open 'file.txt': I/O error 这种行为的可能原因是什么?如何诊断? (Docker 17.10,VirtualBox 5.1.30,PhpStorm 2017.2.4)

在Docker容器中安装VirtualBox共享文件夹

我有一台运行Ubuntu Server 17.04的VirtualBox Guest OS,它安装了docker-ce。 我有一些共享的文件夹被安装在客户操作系统内,但是当我通过–volume命令将它们传递给docker容器时,我看不到任何内容。 我在这里做错了什么? sudo docker create –name=plex -v /home/kunal/media/:/media plexinc/pms-docker

使用VirtualBox 5.1.8 r11374无法在Windows 10上启动docker

只是不能在Windows 10上启动Docker。 VT-x已开启,我重新安装了Docker,Virtualbox,在Virtualbox上重新configuration了NATnetworking设备,重新configuration了整个Virtualbox设置,我重新安装了所谓的VBoxDrv.inf ,几乎重新启动1000倍以上,但我无法解决这个问题。 我不知道发生了什么事。 这是我的VBoxHardening.log 1730.2140: Log file opened: 5.1.8r111374 g_hStartupLog=000000000000013c g_uNtVerCombined=0xa03fab00 1730.2140: \SystemRoot\System32\ntdll.dll: 1730.2140: CreationTime: 2017-11-15T00:34:22.140964500Z 1730.2140: LastWriteTime: 2017-10-25T04:37:21.227931100Z 1730.2140: ChangeTime: 2017-11-15T05:18:19.608963500Z 1730.2140: FileAttributes: 0x20 1730.2140: Size: 0x1dd100 1730.2140: NT Headers: 0xe0 1730.2140: Timestamp: 0x493793ea 1730.2140: Machine: 0x8664 – amd64 1730.2140: Timestamp: 0x493793ea 1730.2140: Image Version: 10.0 1730.2140: SizeOfImage: 0x1e0000 (1966080) 1730.2140: Resource […]

提交时出错 – 如何在使用Docker Toolbox和Windows 7时增加Docker默认容器大小

我在Windows 7上运行Docker,所以Docker在Virtual Box中运行。 我有一个问题,我有一个Oracle图像,然后有一个数据库恢复到它,推动图像的大小高达7.5演出。 我想对此做一个docker commit,但是在执行提交时,出现空间不足的错误。 我已经看到了很多关于更改默认容器大小的文章,但我不确定这是可能的aufs,或如何在Windows 7 / VirtualBox上运行时更改为不同的文件系统types。 有谁知道如何增加在这种环境下的默认容器大小? Error response from daemon: Error processing tar file(exit status 1): write /u01/app/oracle/oradata/XE/support.dbf: no space left on device Docker信息: Containers: 1 Running: 1 Paused: 0 Stopped: 0 Images: 72 Server Version: 17.10.0-ce Storage Driver: aufs Root Dir: /mnt/sda1/var/lib/docker/aufs Backing Filesystem: extfs Dirs: 127 Dirperm1 Supported: […]

将Docker安装到运行Ubuntu 12.04的VirtualBox VM中

我在我的Ubuntu 14.4系统中有虚拟的盒子,并且在虚拟盒子里安装了vagrant。 但是,如果我尝试安装docker进入stream浪虚拟机,并在stream浪机中使用下面的命令 'docker –version' 它显示docker版本和选项,如-help -display – 颜色 但是当我尝试运行docker与下面的命令“sudodocker运行-t -i Ubuntu的:12.04 / bin / bash的” 它显示下面的错误“它不进入docker的bash模式”

不能在stream浪汉上安装Kubernetes

使用本指南在Vagrant群集上安装Kubernetes: https://kubernetes.io/docs/getting-started-guides/kubeadm/ 在(2/4) Initializing your master ,出现了一些错误: [root@localhost ~]# kubeadm init [kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters. [init] Using Kubernetes version: v1.6.4 [init] Using Authorization mode: RBAC [preflight] Running pre-flight checks [preflight] Some fatal errors occurred: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1 [preflight] If you know […]

在VirtualBox VM或Docker上的Oracle数据库?

我正在尝试将Oracle数据库用于开发目的。 我想减less主机上的数据库的占用空间(Windows)。 使用VirtualBox VM还是Docker容器会更好? 我猜Docker容器不会给我任何实质性的优势,因为无论如何我需要一个Linux内核,所以我倾向于VM选项。 还有没有任何可以成功模拟Oracle数据库的内存数据库? 如果是这样的版本?

OSX boot2docker连接到docker守护进程的麻烦

docker工人完全不熟悉。 试图学习。 我跟着mac osx的docker指南,并没有什么麻烦。 我在OSX 10.9.4上。 boot2docker&docker v1.5.0。 我的VirtualBox是4.3.26版(刚刚升级)。 我可以到docker run hello-world 。 我得到错误FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? 。 另外命令$(boot2docker shellinit) error in run: Error requesting socket: exit status 2产生错误error in run: […]

制作多个boot2docker虚拟机

我正在使用boot2docker作为虚拟机的映像(我正在运行Windows 7,64位),但我希望能够使用相同的映像创build另一个虚拟机。 如果我在VirtualBox应用程序中尝试New ,我有Ubuntu,Windows等通常的select,但不是boot2docker映像。 或者,如果我只是使用Boot2Docker快捷方式/ shell脚本,它会自动连接到已经存在的虚拟机,并不会给我一个新的select。 所以我的问题是,如何使用boot2docker映像创build另一个虚拟机?

如何正确configurationVirtualBox的DNSconfiguration来parsing本地networking中的docker容器主机名?

这里是上下文 我有三个容器: 容器1:REST Api 容器2:Web应用程序又名“仪表板” 容器3:数据库 我的目标 我希望这个堆栈运行在Mac OSX或Windows之上,以便构build一个可以从本地networking访问的连贯的应用程序。 我需要什么 – DNSconfiguration 当Web应用程序由Container 2服务到本地networking上的任何客户端时,浏览器需要与Container 1上运行的REST API进行通信。 我想能够在Web应用程序内设置容器2的主机名,例如server-api.local