kunal@kunal-PC MINGW64 ~
$ docker-machine --debug create -d virtualbox default
Docker Machine Version: 0.5.0-rc4 (952539d)
Launching plugin server for driver virtualbox
Found binary path at C:\Program Files\Docker Toolbox\docker-machine-driver-virtualbox.exe
Plugin server listening at address 127.0.0.1:60168
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"log" | |
"syscall" | |
"github.com/docker/libcontainer" | |
"github.com/docker/libcontainer/configs" | |
_ "github.com/docker/libcontainer/devices" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"strings" | |
"bytes" | |
"os/exec" |
kunal@kunal-PC MINGW64 ~
$ docker-machine --debug create -d virtualbox default
Docker Machine Version: 0.5.0 (04cfa58)
Found binary path at C:\Program Files\Docker Toolbox\docker-machine-driver-virtualbox.exe
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:53250
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# HEADS UP! Make sure to use '*' or a valid hostname for the FDQN prompt | |
echo 01 > ca.srl | |
openssl genrsa -des3 -out ca-key.pem | |
openssl req -new -x509 -days 365 -key ca-key.pem -out ca.pem | |
openssl genrsa -des3 -out server-key.pem | |
openssl req -new -key server-key.pem -out server.csr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//FIXME: Debug function need to remove at final PR | |
func dumpYAMLConfig(filename string, document []machineConfig) { | |
fileToWrite, err := os.Create(filename) | |
if err != nil { | |
println("Failed to open file for writing:", err.Error()) | |
} | |
encoder := yaml.NewEncoder(fileToWrite) | |
err = encoder.Encode(document) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 11 09:42:26 localhost Docker[76] <Notice>: com.docker.vmnetd starting | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: launching... | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: accessing preferences... | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: bundle path: /Users/kunalkushwaha/.Trash/Docker (6388).app/Contents/Library/LoginItems/DockerHelper.app | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: auto start: true | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: launch path: Optional("/Applications/Docker.app") | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: Docker.app sucessfully launched from: /Applications/Docker.app | |
May 11 09:43:26 KUNALs-MacBook Docker[425] <Notice>: terminating... | |
May 11 09:43:26 KUNALs-MacBook Docker[445] <Notice>: Application version: 1.11.1-beta10 (6662) | |
May 11 09:43:26 KUNALs-MacBook Docker[445] <Notice>: OSX Version: Version 10.11.4 (Build 15E65) |
$ sudo ubuntu-drivers debug
$ sudo ubuntu-drivers install
Oct 12 10:57:18 kunal-HP-Z400-Workstation systemd[1]: Starting Docker Application Container Engine...
Oct 12 10:57:18 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:18.500079458+09:00" level=info msg="libcontainerd: new containerd process, pid: 9028"
Oct 12 10:57:19 kunal-HP-Z400-Workstation audit[9061]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="docker-default" pid=9061 comm="apparmor_parser"
Oct 12 10:57:19 kunal-HP-Z400-Workstation kernel: audit: type=1400 audit(1476237439.541:23): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="docker-default" pid=9061 comm="apparmor_parser"
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:19.550757159+09:00" level=info msg="[graphdriver] using prior storage driver \"aufs\""
Oct 12 10:57:19 kunal-HP-Z400-Workstation dockerd[9020]: time="2016-10-12T10:57:19.844985894+09:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Oct 12 10:57:1