Skip to content

Instantly share code, notes, and snippets.

View StefanScherer's full-sized avatar
🌍

Stefan Scherer StefanScherer

🌍
View GitHub Profile
$ docker-machine -D create -d vmware --vmware-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2docker.iso vm18061
Docker Machine Version: 0.15.0, build b48dc28d
Found binary path at /Users/stefan/bin/docker-machine-driver-vmware
Launching plugin server for driver vmware
Plugin server listening at address 127.0.0.1:50171
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
@StefanScherer
StefanScherer / docker-for-win-log.txt
Last active October 22, 2018 05:45
Run LinuxKit in Hyper-V nested in in Windows 10 VMware Fusion/Workstation
[05:54:11.662][Moby ][Info ] [ 0.000000] NR_IRQS:8448 nr_irqs:1448 0
[05:54:11.662][Moby ][Info ] [ 0.000000] Console: colour dummy device 80x25
[05:54:11.678][Moby ][Info ] [ 0.000000] console [ttyS0] enabled
[05:54:11.678][Moby ][Info ] [ 0.000000] allocated 4194304 bytes of page_ext
[05:54:11.693][Moby ][Info ] [ 0.000000] tsc: Unable to calibrate against PIT
[05:54:11.693][Moby ][Info ] [ 0.000000] tsc: HPET/PMTIMER calibration failed
[05:54:23.010][DnsUpdater ][Info ] Network configuration change detected
[05:54:23.010][PowerShell ][Info ] Run script '$(Find-NetRoute -RemoteIPAddress 8.8.8.8).InterfaceIndex[0]'...
[05:54:31.198][DnsUpdater ][Info ] Network configuration change detected
[05:54:31.198][PowerShell ][Info ] Run script '$(Find-NetRoute -RemoteIPAddress 8.8.8.8).InterfaceIndex[0]'...
@StefanScherer
StefanScherer / Vagrantfile
Created June 25, 2018 05:32
Turn on auto logon in a sysprepped Vagrant box
Vagrant.configure("2") do |config|
config.vm.define "tst" do |cfg|
cfg.vm.box = "StefanScherer/windows_2016"
cfg.vm.hostname = "tst"
cfg.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "2048"
vb.linked_clone = true
end
@StefanScherer
StefanScherer / .dockerignore
Last active March 29, 2018 18:46
golang createtar sample
in/
*.tar
createtar-*
@StefanScherer
StefanScherer / .dockerignore
Last active March 12, 2018 14:42
packer 1.2.1 produces 0 byte vmdk
in/
*.tar
@StefanScherer
StefanScherer / docker-compose.yml
Created January 27, 2018 21:05
Jenkins Azure + SSL via Traefik and Let's Encrypt + Portainer
version: '2.1'
services:
traefik:
image: traefik:v1.5.0
ports:
- "80:80"
- "8081:8081"
- "443:443"
volumes:
- ./traefik.toml:/etc/traefik/traefik.toml
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Users\demo> cd .\workspace\
PS C:\Users\demo\workspace> dir
Directory: C:\Users\demo\workspace
@StefanScherer
StefanScherer / vagrant-provision.log
Created January 16, 2018 17:06
vagrant plugin install vagrant-vmware-workstation requires /dev/tty
$ vagrant provision
==> default: Running provisioner: shell...
default: Running: inline script
default: INFO global: Vagrant version: 2.0.1
default: INFO global: Ruby version: 2.4.2
default: INFO global: RubyGems version: 2.6.13
default: INFO global: VAGRANT_LOG="debug"
default: INFO global: VAGRANT_OLD_ENV_LOGNAME="root"
default: INFO global: VAGRANT_INSTALLER_ENV="1"
default: INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant"
@StefanScherer
StefanScherer / vagrant-up-error.txt
Last active January 8, 2018 21:52
vagrant Failed to add NAT port entry: Zugriff verweigert
C:\Users\stefan.scherer\code\tst
$ $env:VAGRANT_LOG="debug"
C:\Users\stefan.scherer\code\tst
$ rm -r .\.vagrant\
C:\Users\stefan.scherer\code\tst
$ vagrant up
INFO global: Vagrant version: 2.0.1
INFO global: Ruby version: 2.4.2
INFO global: RubyGems version: 2.6.13
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-2.0.1\\bin\\vagrant"
@StefanScherer
StefanScherer / vagrant-status.txt
Last active October 25, 2017 09:03
vagrant-vmware-workstation-5.0.0 gists for https://github.com/hashicorp/vagrant/issues/9108
C:\Users\stefan.scherer\GitHub\plossys\vagrant\am-windows>vagrant status
INFO global: Vagrant version: 2.0.0
INFO global: Ruby version: 2.3.4
INFO global: RubyGems version: 2.5.2.1
INFO global: VAGRANT_DETECTED_ARCH="64"
INFO global: VAGRANT_DETECTED_OS="msys"
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-2.0.0\\bin\\
vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"