boot2docker

kafka monitoring using JMX when running kafka in docker in boot2docker

旧巷老猫 提交于 2019-12-02 04:59:12
问题 I am trying to get JMX monitoring working to monitor a test kafka instance. I have kafka (ches/kafka) running in docker via boot2docker but I can not get JMX monitoring configured properly. I have done a bunch of troubleshooting and I know the kafka instance is running properly (consumers and producers work). The issue arises when I try simple JMX tools (jconsole and jvisualvm) and both can not connect (insecure connection error, connection failed). Configuration items of note: I connect to

docker on windows not working

烂漫一生 提交于 2019-12-02 04:11:42
I have tried installing docker on windows 7 (using boot2docker). However the console just exists abruptly and I am unable to see the error, much less run any commands. In the installation I have tried both installing and not installing the VirtualBox. I have also tried un-installing and re-installing both docker and virtualbox. Nothing seems to work. Here are the console errors I see when I run boot2docker -v up : Boot2Docker-cli version: v1.3.0 Git commit: deafc19 2014/10/26 20:47:11 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable 2014

Troubleshoot Docker-On-Windows attempt to run hello-world

丶灬走出姿态 提交于 2019-12-02 02:45:07
问题 I have installed docker on windows and successfully brought up the bash shell window. However, when I test my installation with docker run hello-world I get the following: Post http://127.0.0.1:2375/v1.20/containers/create: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your docker daemon up and running? I thought at first it was because I needed to be

kafka monitoring using JMX when running kafka in docker in boot2docker

断了今生、忘了曾经 提交于 2019-12-02 01:49:17
I am trying to get JMX monitoring working to monitor a test kafka instance. I have kafka (ches/kafka) running in docker via boot2docker but I can not get JMX monitoring configured properly. I have done a bunch of troubleshooting and I know the kafka instance is running properly (consumers and producers work). The issue arises when I try simple JMX tools (jconsole and jvisualvm) and both can not connect (insecure connection error, connection failed). Configuration items of note: I connect to 192.168.59.103 (virtualbox ip found when running 'boot2docker ip') and the ches/kafka docker/kafka

Troubleshoot Docker-On-Windows attempt to run hello-world

牧云@^-^@ 提交于 2019-12-02 00:57:48
I have installed docker on windows and successfully brought up the bash shell window. However, when I test my installation with docker run hello-world I get the following: Post http://127.0.0.1:2375/v1.20/containers/create : dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your docker daemon up and running? I thought at first it was because I needed to be logged in to docker hub. When I tried docker login and gave it my docker-hub account name, I got The

OSX Play Framework Auto-Reload

我怕爱的太早我们不能终老 提交于 2019-12-02 00:48:52
问题 I've been scouring the internet for hours now, there is lots of "helpful" advice...that cause nothing but problems. This is me, almost exactly: Play framework auto-loading in docker container I'm running the latest (I think, don't know how to check but downloaded < a week ago) version of the Play! Framework inside a ubuntu docker container with Java 8, built with the following dockerfile: FROM ubuntu:latest MAINTAINER [REDACTED] RUN sudo apt-get update RUN sudo apt-get -y install software

Docker containers not using host DNS in boot2docker

谁说我不能喝 提交于 2019-12-01 20:17:48
问题 I am running boot2docker on my Mac. OSX version 10.9.3 boot2docker version 4.3.12 Docker version 0.12.0 The boot2docker image is a vagrant box, using virtualbox. I have tried a number of vagrant boxes (for example stigkj/boot2docker). All of them exhibiting the issue. If I ssh into the boot2docker image and look at /etc/resolv.conf it is using the nameserver 10.0.2.3. I boot up a simple docker image with the command: docker run -i -t ubuntu /bin/sh Looking at /etc/resolv.conf in that

Docker containers not using host DNS in boot2docker

梦想的初衷 提交于 2019-12-01 17:58:02
I am running boot2docker on my Mac. OSX version 10.9.3 boot2docker version 4.3.12 Docker version 0.12.0 The boot2docker image is a vagrant box, using virtualbox. I have tried a number of vagrant boxes (for example stigkj/boot2docker). All of them exhibiting the issue. If I ssh into the boot2docker image and look at /etc/resolv.conf it is using the nameserver 10.0.2.3. I boot up a simple docker image with the command: docker run -i -t ubuntu /bin/sh Looking at /etc/resolv.conf in that container, it is using 8.8.8.8 and 8.8.4.4 as nameservers. In the docker.log file on the boot2docker vm, there

win10家庭版(组装机)安装docker

佐手、 提交于 2019-12-01 14:30:36
组装机采用下载的window原厂版本,其Hyper-V启动不成功的方式。 一、下载: https://github.com/docker/toolbox/releases 安装 Docker Toolbox 文档: https://docs.docker.com/docker-for-windows/install/ 安装文档: https://docs.docker.com/toolbox/toolbox_install_windows/ 二、安装以及问题 1、如果电脑已经安装过 Virtual Box ,列表就不要勾选这个。如果电脑已经装过 Git ,也可以不用勾选。 2、双击 Docker Quickstart Terminal 启动 Docker , 3、如果找不到 bash.exe 的路径 解决办法: 解决点击Docker出现windows 正在查找bash.exe。如果想亲自查找文件,请点击“浏览”的问题 4、默认的虚拟机创建在了C盘,我们可以先改一下虚拟机的位置。 具体操作如下: 使用docker-machine stop default停掉Docker的虚拟机。 打开VirtualBox,选择“管理”菜单下的“虚拟介质管理”,我们可以看到Docker虚拟机用的虚拟硬盘的文件disk。 选中“disk”,然后点击菜单中的“复制”命令,根据向导

Inserting a conditional RUN statement inside a dockerfile

时间秒杀一切 提交于 2019-12-01 13:41:05
问题 I am trying to write a docker file which will run a RUN command to search for a word in a package.json file and act upon it: this is my simple dockerfile: FROM ubuntu:14.04 COPY package.json package.json RUN if grep -q "grunt" package.json; then echo succeed fi as you can see i just want a simple if statement but it get this error: Step 2 : RUN if grep -q "grunt" package.json; then echo succeed fi ---> Running in af460df45239 /bin/sh: 1: Syntax error: end of file unexpected (expecting "fi")