Skip to content

Instantly share code, notes, and snippets.

View bobbymac's full-sized avatar
🤞
BlinkyBlinky==WorkyWorky

Robert McCaleb bobbymac

🤞
BlinkyBlinky==WorkyWorky
View GitHub Profile
PS C:\WINDOWS\system32> disable-bc
net stop http
After this Docker can bind to the port

Keybase proof

I hereby claim:

  • I am bobbymac on github.
  • I am bobbymac (https://keybase.io/bobbymac) on keybase.
  • I have a public key ASA-MLvAx7ornPRgwoarUkcb_CAhLZhb8LDgyhRKpzln1wo

To claim this, I am signing this object:

@bobbymac
bobbymac / shell-in.sh
Created December 13, 2017 18:11
shelling into a container before it runs start type scripts passing variable
docker run -ti --entrypoint=sh $1
tutum
server {
server_name abc.xyz.com;
location / {
proxy_pass http://127.0.0.1:8000;
}
}
server {
server_name abcd.xyz.com;
location / {
proxy_pass http://127.0.0.1:8000;
#smokeping service with link
http://127.0.0.1/
#Default URL
http://127.0.0.1/smokeping/smokeping.cgi
#starting smoke ping
docker run --name=smokey -v /data/smokepingconfig:/config -v /data/smokeping:/data -d -p 80:80 linuxserver/smokeping:latest
# Add the mounted volume
docker run --name=smokey1 -e TZ=America/Chicago -v /data/smokepingconfig:/config -v /data/smokeping:/data -d -p 80:80 bobbymac/smokeping:v1
@bobbymac
bobbymac / Portainer.txt
Last active July 22, 2017 14:46
Portainer with volume storage
#Different ways to run Portainer
#set to the internal loopback
docker run -v /var/run/docker.sock:/var/run/docker.sock -v /data:/data -d -p 9000:9000 portainer/portainer