I have the below Dockerfile for zookeeper and I am trying to create an image for it, but it is giving me an error. I have recently started working with Docker, and started playing with a Zookeeper setup, so I am not able to understand. What does this error mean? FROM ubuntu:trusty MAINTAINER David RUN […]
Docker version 1.6.2, build 7c8fca2 on Ubuntu 15.10 A month and a half ago I suddenly noticed that when I built a docker image I was consistently getting errors like the following with apt in Ubuntu containers and dnf in Fedora containers: Err http://archive.ubuntu.com wily InRelease Err http://archive.ubuntu.com wily-updates InRelease Err http://archive.ubuntu.com wily-security InRelease Err […]
I had taken a course on a training site that first suggested using sudo apt-get install docker.io or docker-io. The instructor then explained that this is an old method. So, then, without mentioning removing that version, he says to add a repo and use sudo apt-get update followed by sudo apt-get install docker lxc-docker. I […]
I am now using Docker for Mac and Docker is Docker version 1.12.0-rc4, build e4a0dbc, experimental and I am trying to install MySQL in Ubuntu 16.10. (Do not ask me, why I don’t use the official one!) The installation process is run Docker docker run –rm -it ubuntu:16.10 (and install vim) update & upgrade apt-get […]
I’m new to docker and understand that the linux kernel is shared between the host-os and the containers. But I don’t really understand how deep docker emulates a specific linux-distribution. Lets say we have a simple docker file like this: FROM ubuntu:16.10 RUN apt-get install nginx It will give me a docker container with nginx […]
I try to configure Jenkins at Unubtu 16.04: docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins Then, i see at logs: Attempting to dynamic load /var/jenkins_home/plugins/workflow-aggregator.jpi Started initialization Listed all plugins Prepared all plugins Started all plugins Augmented all extensions Loaded all jobs Completed initialization Plugin workflow-aggregator:2.3 dynamically installed But, at /var/jenkins_home i cound […]
I know how to build, tag and push my personal images to my local registry. But how can I push an image I downloaded via docker_cli from dockerhub into my local registry ?
Can the underline Linux distribution and/or version differ for the following jobs: build a docker image (e.g. build a CentOS docker image in an Ubuntu host, or build a CentOS 6.6 docker image in a CentOS 7.1 host) run a docker container (e.g. run a CentOS docker container in an Fedora host, or run a […]
I am trying to serve Wasabi API over HTTPS. Currently, it is HTTP only. I have a very basic setup ( as described here https://github.com/intuit/wasabi ) running on Ubuntu 16.04 on Google Cloud. It is accessible via http://example.com:8080 and that seems to be the only port that’s used for the API. $ docker ps output: […]
I am getting this error while mounting host directory to docker container. $ docker run -v $pwd:/opt/lampp/htdocs/ -it xampp bash docker: Error response from daemon: invalid volume spec “:/opt/lampp/htdocs/”: invalid volume specification: ‘:/opt/lampp/htdocs/’. See ‘docker run –help’. Inside docker /opt/lampp/htdocs/ exists : Please help.