Tag: boot2docker

Copy or scp files to /var/lib/boot2docker for boot2docker VM managed by docker-machine

To use Docker on OS X, I’m using a boot2docker VM running in VirtualBox, managed by docker-machine. The boot2docker documents mention a persistence volume /var/lib/boot2docker. I would like to copy a file bootlocal.sh on the host filesystem over to the boot2docker VM. I thought that docker-machine’s scp command would work for this, docker-machine scp bootlocal.sh […]

Docker file permission php on Mac OS with docker-compose && dockerfile

I need a help about file permissions on my docker project. I’m using docker-compose + dockerfile and I’m having a problem that my php cant write files in my projects, so I cant develope. Here is my project https://github.com/marcoaure/my-php-docker/tree/16c1a69952ba57fb18b8de275f19ee8d3899054e

How to support input Chinese (UTF-8) in boot2docker(tiny core) /bin/sh (shell)

How to support input Chinese (UTF-8) in boot2docker(tiny core) /bin/sh (shell) For support Chinese (UTF-8), I try: su – docker -c “tce-load -wi getlocale coreutils ” sudo getlocale.sh ==> select en_US.UTF-8 ==> enter ==> this will generate mylocale.tce file su – docker -c “tce-load -i mylocale coreutils” Then relogin will Chinese filename is supported now […]

Setting up docker on Mac OS – php-intl cannot be installed

I have the following problem: I want set up a development environment on my Mac using docker and boot2docker. For that I created an image using the below Dockerfile. The Problem is, that my php-intl-Extension cannot be installed.. I tried various method. For example to enable it in php.ini via: extension=php_intl.so None of the methods […]

Accessing vagrant provider docker from vagrant virtualbox

I am running Vagrant and Virtualbox on Mac OS X. I have created one vagrant box using Virtualbox provider (some_centos machine) and second box using docker provider. Below you will see docker definition. config.vm.define “mysql” do |m| m.vm.hostname = “mysql-host” m.vm.synced_folder “.”, “/vagrant”, disabled: true m.ssh.insert_key = false m.ssh.username = ‘docker’ m.ssh.password = ‘tcuser’ m.vm.network […]

Installing docker without hypervisor Microsoft Windows 10 Professional

After installing Docker tools from https://www.docker.com/products/docker-toolbox unable to start Docker after restart. Always come with Pop-Up Box Unable to start Hypervisor. There is no option to activate Hypervisor in Laptop BIOS setup in the new HP Pro Book. Also try boot2docker same error message.

How to resolve docker connectivity after reboot on Mac

I rebooted my Mac for the first time in a while. Afterwards, docker was unusable because of an error about certificates: “x509: certificate is valid for, not”.

Change Graph.db location on Neo4j Docker to local file

I have been following this tutorial www.kennybastani.com I am looking to integrate my NEo4j database with the Dockerized version described in the tutorial. The Dockerized version provides an interface between Neo4j and Spark GraphX. I am new to Docker. Steps taken: export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375 $(boot2docker shelling) docker run –env DOCKER_HOST=$DOCKER_HOST \ –env DOCKER_TLS_VERIFY=$DOCKER_TLS_VERIFY \ […]

Can I publish a .Net application which is not ASP.NET 5 or ASP.NET Core in Docker containers?

Can we publish a .Net application which is not ASP.NET 5 or ASP.NET Core in Docker Containers?

Unable to connect instances of docker-machine to pull docker images running behind a corporate proxy

I’m trying to configure docker swarm mode using docker-machine. I have set up a cluster of 4 nodes connected to each other. However, I’m not able to connect the instances created by docker-machine to outside world that is running behind a corporate proxy.

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