Tag: ubuntu

Why Jenkins not stored data?

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 […]

Docker – push from dockerhub to trusted registry?

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 ?

Build Docker image on different host OS

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 […]

Wasabi API over HTTPS instead of HTTP

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: […]

host to docker directory mount error

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.

Docker RUN apt-get -y update && apt-get install -y fortunes

Tried to build my own docker, got a little problem, here’s the log i was following the tutorial on Docker. FROM docker/whalesay:lateset RUN apt-get -y update && apt-get install -y fortunes CMD /usr/games/fortune -a | cowsay This happened after RUN apt-get… W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_universe_source_Sources.gz is not what the server reported 213537 7925687 W: […]

Docker – Ubuntu – Nginx – MariaDB – Connection refused

Im trying to setup a docker container on OSX with Docker – Ubuntu – Nginx – MariaDB to run a Laravel App My docker settings are: version: “2” services: nginx: build: context: ./nginx ports: – “8080:80” volumes: – ./app:/var/app fpm: build: context: ./fpm volumes: – ./app:/var/app expose: – “9000” environment: – “DB_HOST=db” – “DB_DATABASE=laravel_db” db: […]

autoconf configure warning: /usr/bin/file: No such file or directory

When I use my configure in a ubuntu OS (16), there seems to be no problem. I have installed the autoconf tool and dependencies. When I run the same configure file in a ubuntu (16 or latest) The problems is that I did not install any autotools. I am getting the following error message. ./configure: […]

Bypass install configuration in dockerfile

I am trying to install icinga2-ido-pgsql on an Ubuntu Docker container. My database is in a separate container. To install it I run RUN apt-get install -q -y icinga2 icinga2-ido-pgsql When installing icinga2-ido-pgsql it runs dbconfig-common which gives the prompt. Configure database for icinga2-ido-pgsql with dbconfig-common? [yes/no] Which then gives me a load of errors […]

Connecting a Docker container running PHP to the host's(ubuntu on VirtualBox) MSQL server

Running VirtualBox with Ubuntu 16.04 on which I have a Docker container that has Apache2 and PHP installed. MYSQL is installed on the host(ubuntu on VirtualBox). I am trying to access the MYSQL server on host from the docker container <?php $host = ‘192.168.136.101’; $user = ‘root’; $pass = ‘****’; $db = ‘test’; $port = […]

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