Redis Docker connection refused

You need to provide more information about your environment (OS, Docker installation, etc), but basically, if you start your Redis container like this: docker run –name=redis-devel –publish=6379:6379 –hostname=redis –restart=on-failure –detach redis:latest It should expose the port no matter what. The only reason you might not be able to connect to it, is if you’ve messed … Read more

How to install nano on boot2docker

Boot2Docker is based on Tiny Linux which uses tce-load to install packages. The list of packages in the repository can be found here: http://distro.ibiblio.org/tinycorelinux/tcz_2x.html You’ll see that the nano packages is nano.tcz , so you’ll run something like: tce-load -wi nano This article: http://lowtek.ca/roo/2015/modify-boot2docker-iso/ should also be helpful along with this one: http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-unpluggable-squeezelite-player-on-tinycore/#Search_and_install_NANO_extension

Port forwarding in docker-machine?

You can still access the VBoxmanage.exe command from the VirtualBox used by docker machine: VBoxManage controlvm “boot2docker-vm” natpf1 “tcp-port27017,tcp,,27017,,27017”; Use docker-machine info to get the name of your vm. use modifyvm if the vm isn’t started yet. See a practical example in this answer. That is the current workaround, pending the possibility to pass argument … Read more

Difference between Docker and OpenVZ

The perspective on containers is very different between the 2. In short OpenVZ sees a container as a VPS, and docker sees a container as an application/service. What does this imply? For OpenVZ you can expect that when you create containers, its sort of like making Virtual Servers. OpenVZ has interfaces focussed on setting up … Read more

Not enough entropy to support /dev/random in docker containers running in boot2docker

I just realized, that it is simple as mounting /dev/urandom from the host as /dev/random into the container: $ docker run -v /dev/urandom:/dev/random … The result is as expected: $ docker run –rm -it -v /dev/urandom:/dev/random ubuntu dd if=/dev/random of=/dev/null bs=1 count=1024 1024+0 records in 1024+0 records out 1024 bytes (1.0 kB) copied, 0.00223239 s, … Read more

Docker can’t connect to boot2docker because of TCP timeout

I am using OS X v10.10 (Yosemite) and Cisco Anyconnect (which are apparently a bad combination for using boot2docker), and the following finally worked for me (thanks to the linked GitHub issue comment): These steps will add a port forwarding rule and modify your environment to have Docker point to 127.0.0.1 (instead of 192.168.59.103 or other … Read more

dockerd vs docker-containerd vs docker-runc vs docker-containerd-ctr vs docker-containerd-shim

dockerd – The Docker daemon itself. The highest level component in your list and also the only ‘Docker’ product listed. Provides all the nice UX features of Docker. (docker-)containerd – Also a daemon, listening on a Unix socket, exposes gRPC endpoints. Handles all the low-level container management tasks, storage, image distribution, network attachment, etc… (docker-)containerd-ctr … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)