Tag: ubuntu

docker-compose build leads to client and server don't have same version (client : 1.18, server: 1.17)

I tried to build docker using docker-compose build but facing issue like client and server don’t have same version (client : 1.18, server: 1.17). I found solution using curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose“ chmod +x /usr/local/bin/docker-compose`. When tried again build I got Unsupported config option for services service: ‘nginx’ docker-compose.yml use version: ‘2’ […]

docker non-root bind-mount permissions, WITH –userns-remap

all: flailing around trying to get bind-mount permissions working. My goal is to bind mount a volume in a container, so that: (a) the container does NOT run the entry point as root user (b) the docker-daemon is configured with –userns-remap, so that container doesnt have root on the host (c) I can bind-mount and […]

Updating docker-compose Ubuntu 15.10

I’m working through a tutorial for XGBoost (see: https://github.com/ParrotPrediction/docker-course-xgboost), but am getting an error when running $ docker-compose up That I am fairly sure is caused by an outdated docker-compose version (-v tells me 1.3.1) resulting in an incompatibility with the new version 2 filetype. However, when running sudo-apt get update, it tells me this […]

How do I configure amount of RAM to be used by kalabox on Ubuntu

I’m trying to run 2 instances of kalabox for two separate pantheon wordpress sites on my laptop with 6 GB of RAM and my system grinds to a crawl when I boot up (kbox start) the second app. As I’m on Ubuntu I can’t just tweak the Kalabox memory setting in VirtualMachine as it’s not […]

Docker 1.12 Swarm: TLS changes

On two hosts I installed on the first a docker swarm manager with the command docker swarm init -advertise-addr=… and on the second a docker swarm node with docker swarm join … Now I changed the var DOCKER_HOST=<docker-swarm-manager>:<port>to the docker swarm manager with the right TCP-port. Then I wanted to ps as a test of […]

Cannot log in to Dockerized SSH daemon service using Ubuntu 16.04

When I execute the example below from the Docker website, it works fine. As soon as I change it to ubuntu:16.04, however, the screencast password never works. It just keeps prompting to enter the correct password. Is there something different in 16.04 regarding the chpasswd? # sshd # # VERSION 0.0.2 FROM ubuntu:14.04 MAINTAINER Sven […]

docker vagrant ubuntu 16.04 – No usable default provider could be found for your system

I am trying to follow from a book on Scrapy. The author uses a testing environment built with vagrant and docker. The environment is required to follow the tutorials in the book. I don’t know anything about either of these technologies, but have been struggling since yesterday to get everything running. After hours of searching, […]

Tensorflow docker container predictions won't work outside of container

I went through the Tensorflow for poets Tutorial and then classified my own images, this is all done in the TF docker container provided. The model has a validation accuracy in the mid to low 90’s. There is a separate file that makes predictions for new images(below). I copied the files ‘retrained_labels_corn.txt’ and ‘retrained_graph_corn.pd’ and […]

docker spring-boot application accessible only on 172.17 ip

My host OS is Windows 7 and I have installed Ubuntu 16.04 on VirtualBox. VM uses NAT networking. I have installed Docker 1.12.1 on VM (ubuntu). I have a docker container with a spring boot application. The application is accessible only on ip on my VM (ubuntu). How do i make it available on […]

docker: Error response from daemon: rpc error: code = 2 desc = “oci runtime error: exec format error

I have installed docker.io and the docker status is running and active. I acreaa group and added docker. I also added my user to docker group. When I run docker run hello-world , I am ending up with the error docker: Error response from daemon: rpc error: code = 2 desc = “oci runtime error: […]

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