Tag: virtualbox

chrome在最小的Centos7 + Xvfb中以“非法指令”失败

Chrome曾经在无头的centos 7上工作,但现在似乎无法启动。 吐出“非法指令”作为唯一的输出。 适用于最小的centos 7 virtualbox和https://hub.docker.com/_/centos/ docker映像。 有没有解决方法,或者我可以做些什么来使这个设置工作? 步骤来重现:从这里创build一个最小的centos 7虚拟机http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso创build一个非root用户,我命名我的“st_user” 作为根做: %>yum install -y epel-release %>yum install -y xorg-x11-server-Xvfb %>cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome – \$basearch baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOF %>yum install -y google-chrome-stable %>nohup /usr/bin/Xvfb :99 -ac -screen 0 1280x1024x24 & %>su – st_user %>export DISPLAY=:99 %>/bin/google-chrome Xlib: extension "RANDR" missing […]

Docker:在步骤中看起来有问题寻找vboxmanage.exe

我只在我的Windows 7机器上安装了Docker Toolbox。 安装后我运行Docker Quickstartterminal,它显示以下消息: 看起来在步骤n出错了查找vboxmanage.exen …按任意键继续…. 谁知道如何解决这个问题? 问候,

无法创builddocker虚拟机

我以前使用boot2docker,一切正常。 现在,当我升级到使用Docker Toolbox时,我无法创build新的虚拟机。 我甚至无法导入与boot2docker一起使用的虚拟机。 尝试创build新机器时出现此错误: C:\Program Files\Docker Toolbox\kitematic\resources\resources\docker-machine.exe -D create -d virtualbox –virtualbox-memory 2048 default returned non zero exit code. Stderr: Converting from raw image file="stdin" to file="C:\Users\disk.vmdk"… Creating dynamic image with size 20971520000 bytes (20000MB)… Error creating machine: exit status 1 You will want to check the provider to make sure the machine and […]

重新安装Boot2Docker由于明显的VirtualBox运行失败 – 如何closures它们?

我正在尝试重新安装boot2docker https://github.com/boot2docker/osx-installer/releases/tag/v1.7.0 安装失败,报告以下错误: 安装程序检测到VirtualBox仍在运行。 请closures所有正在运行的VirtualBox机器并退出VirtualBox,然后重新启动安装。 我怎样才能退出VirtualBox?

apt-get在Docker后面的公司代理

我试图在Docker的企业代理服务器背后设置一个开发环境。 尽可能地尝试,我不能让docker集装箱与代理服务器交谈。 代理服务器和apt-get在主机上运行良好,即Ubuntu 12.04 Dockerfile中的第一件事是尝试设置代理variables: FROM ubuntu RUN echo 'Acquire::http { Proxy "http://my.proxy.net:8000"; };' >> /etc/apt/apt.conf.d/01proxy ENV HTTP_PROXY http://my.proxy.net:8000 ENV http_proxy http://my.proxy.net:8000 ENV HTTPS_PROXY https://my.proxy.net:8000 ENV https_proxy https://my.proxy.net:8000 RUN apt-get update && apt-get install -y build-essential 它拉好图像,设置variables,但是当它进入apt-get更新,它会尝试一会儿,然后失败: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease W: Failed to […]

Windows访客虚拟机中的Docker

我使用Debian Jessie作为VirtualBox主机。 我有一个Windows 7虚拟机guest,我用于开发目的。 我想安装docker。 为了安装Docker for Windows,我需要Boot2docker.exe。 Boot2docker本身是一个VirtualBox虚拟机。 它需要启用VT-x。 这似乎并不奏效。 VirtualBox错误信息: VT-x is not available (VERR_VMX_NO_VMX) E_FAIL (0x80004005) Console IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

我将如何去创build与许多服务CI的docker环境

假设我想将mu验收testingCI环境迁移到docker,所以我可以利用性能改进,并快速设置多个克隆进行慢速验收testing。 我会有很多的服务。 简单的将是postgres,mongodb,reddis等,这些更新很less。 但是,如果我自己的产品有很多的服务,我将如何去呢? – 超过10-20个服务,都需要一起进行testing。 用docker处理这个问题甚至是可行的,也就是说,CI如何有效地自动控制这么多的容器,并使它们克隆并行运行验收testing。 另外,我将如何自动更新CI的容器容易? CI是否需要在每个服务分支的HEAD每次运行开始时重build每个容器? 或者CI会在每个服务上运行git pull和一些update/migrate command ? 在VM-s很容易控制这些服务,但我想确信,docker是好的或更好的。