Tag: docker machine

Issue returning https url when returning response from a docker container

I am using docker which has an apache container and a lamp container. Lamp container contains the application code and Apache container has virtual host config info which is as follows. <VirtualHost *:80> ServerName example.com Redirect permanent / https://example.com/ </VirtualHost> <VirtualHost *:443> ProxyPreserveHost on ProxyPass / http://172.18.0.25/ ProxyPassReverse / http://172.18.0.25/ SSLProxyEngine on SSLEngine on SSLProxyVerify […]

How to upgrade Docker on Mac from boot2docker version?

This previous question asks prior to the 17.0.3 Docker-style versions. My specific question is how (on a Mac) does one upgrade from a boot2docker version (mine is 1.12.3) to 17.0.3 or later? Please list all commands required. The Docker Documentation seems to indicate using docker-machine, but this did not alter the version at all for […]

Set size of Hyper-V machine for a Docker Windows container

I’m trying to build a Windows Docker image. I require more storage space than the 20GB that Hyper-V defaults to using, though. I cannot find how I might go about changing the amount of storage space that is made available to the containers. I’ve attempted to use docker-machine create –driver hyperv –hyperv-disk-size “50000” vm to […]

Docker-machine error in Linux

I want to create docker-machine device in CentOs But when i create docker-machine it has message that Error with pre-create check: “VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path” What should i do??

Docker process killed with cryptic `Killed` message

Running a python script in a docker container and everything seems to be running smoothly, seeing some STDOUT messages, about 5 minutes in I get a Killed message with no further explanation and the process stops. Querying a db so could be a disk space issue, could be OOM issue. I’m not sure but I […]

docker on mac: unable to resolve path to a file on mac from the program running in container

Using docker for mac: Docker version 17.03.1-ce, build c6d412e Am trying to access AWS services in a program using aws-sdk like this: var aws = require(‘aws-sdk’); var credentials = new aws.SharedIniFileCredentials({profile: ‘default’}); aws.config.credentials = credentials; const s3 = new aws.S3(); But getting error stating that “path”:”/root/.aws/credentials could not be found. The file is very much […]

How to use fontawesome with vue.js

I was trying to use font-awesome with vue.js but couldn’t got it running. I tried including in the index but did not work: <link rel=”stylesheet” href=”path/to/font-awesome/css/font-awesome.min.css”>

how to list the nodes in docker swarm via api call?

I am trying to get the node details of the swarm manager via api call. my question is, is there an api call equivalent to docker node ls I tried to get the api details, i searched enough and i cant get it ?

Gitlab pipeline fails during connect with EOF

I want to create a deployment/automatic test system with gitlab, and the build always fails with: Using docker image sha256:d108803bf9795fe6552e849ff52339a2bae2fe7787fbeb6c1c75fb11b238eb67 for predefined container… Pulling docker image php:7.1 … ERROR: Preparation failed: error during connect: Post https://192.168.0.165:2376/v1.18/images/create?fromImage=php&tag=7.1: EOF The gitlab is self hosted in a docker container on a separate VM. There is a VM for […]

Docker for windows: Error creating machine

Simply following directions here: https://docs.docker.com/machine/drivers/hyper-v/ Tried this command to create a new virtual machine $ docker-machine create –driver hyperv vm But don’t get too far and get this error Running pre-create checks… Creating machine… (vm) Copying C:\Users\vostro\.docker\machine\cache\boot2docker.iso to C:\Users\ (vm) Creating SSH key… (vm) Creating VM… (vm) Using switch “DockerNAT” (vm) Creating VHD (vm) Starting […]

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