Tag: boot2docker

Vagrant and docker Protocol error mounting directory windows 7

I have a custom boot2docker with this configuration attached to the .iso config.vm.provider “virtualbox” do |v| v.customize [‘storageattach’, :id, ‘–storagectl’, ‘SATA’, ‘–port’, 0, ‘–device’, 0, ‘–type’, ‘dvddrive’, ‘–medium’, File.expand_path(“../boot2docker.iso”, __FILE__)] v.customize [‘modifyvm’, :id, ‘–nictype1’, ‘virtio’] end config.vm.network “private_network”, ip: “”, id: “default-network”, nic_type: “virtio” My files in the directory mycompany/ dockerhost/ Vagrantfile Vagrantfile The vagrantfile […]

Docker machine is active, but shown as aborted in Virtual Box

I do not understand, what is going on with docker machine on Windows using docker toolbox. The machine is listed as active, when I run > docker-machine ls But when I go to the Virtual Box and check the machine state, it is shown as aborted. I also can not run the machine directly from […]

mocha not return anything when using docker

I have a nodejs app, which has some test return with mocha: I have a docker-compose.yml with the following: app: image: alvin/node working_dir: /app command: node app.js volumes: – .:/app ports: – “3000:3000” environment: – NODE_ENV=development When I run docker-compose up, it works: Recreating node_app_1 Attaching to node_app_1 [36mapp_1 |[0m Sever listen to port: 3000 […]

boot2docker behind proxy – certificate signed by unknown authority

I have installed DockerToolbox-1.12.0.exe on Windows 7. The corporate proxy provides its own certificate to do MITM. I have configured boot2docker to use the proxy by exporting environment variables in .profile. I am still not able to do docker run hello-world as i am getting – docker: Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: x509: certificate […]

block device access on windows docker tool box

docker installed my machine ubuntu 12.04 (Virtual Machine on MAC) windows 7 (native) and Docker images as below .. ubuntu 12.04 base docker image when i run Docker image on Ubuntu 12.04 and insert Micro SD Card then Docker Image can access this block device. Docker Image Execution Command as … docker run –privileged -i […]

Dial tcp connectex: An attempt was made to access a socket in a way forbidden by its access permissions

I am getting this error when I attempt to start the docker terminal or do any operation with the docker-machine like create a new machine, regenerate certificates. I tried the following It was working fine until a few days back. OS: Windows 10 Home Virtualbox Upgrade/Downgrade, install the default Virtual Box that comes with the […]

Not able to connect to Oracle Database using Docker Container

I am deploying my application into a Docker container, on Webspehre liberty server as an EAR file. However, when the application is running, it cannot connect to the Oracle Database which is running on another host where we are trying to connect through jndi lookup defined in server.xml of Websphere liberty. <dataSource id=”oracle” jndiName=”jdbc/QADBApp” type=”javax.sql.Datasource”> […]

Unable to migrate boot2docker to docker-machine

When I try to migrate my boot2docker to docker-machine as per Docker docs instructions I get this error message: Error creating machine: Error in driver during machine creation: X:\Oracle\VirtualBox\VBoxManage.exe clonehd X:\TEMP\.boot2docker\boot2docker.iso X:\Users\foo\.docker\machine\machines\docker-vm\disk.vmdk failed: VBoxManage.exe: error: The medium ‘X:\TEMP\.boot2docker\boot2docker.iso’ can’t be used as the requested device type VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MediumWrap,interface IMedium, […]

Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded

I am trying to enable the Docker Remote API on Windows by following the steps in this SO answer. After performing the last step which is to do a docker-machine restart, I get a message Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded Also, if I do command docker-machine […]

Adding Java to Boot2Docker Linux VM?

I have images which are based on Alpine Linux with only JRE, and I’d like to be able to debug some through the host machine on Boot2Docker’s Tiny Core Linux VM. Is this possible, or is there a better way, besides adding JDK right into the container? I’m having trouble finding out how to get […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.