as root
apt update
apt upgrade -y
reboot
as root
I hereby claim:
To claim this, I am signing this object:
mostly from: https://git.alpinelinux.org/cgit/aports/tree/community/edk2/APKBUILD
docker run --rm -ti -v $(pwd):/out alpine
apk add --no-cache bash python2 iasl nasm util-linux-dev gcc musl-dev make g++ git
# need to clone in container as on Mac the host FS is not case sensitive
git clone [email protected]:tianocore/edk2.git
# choco based setup | |
choco install golang | |
choco install git | |
# Get tools | |
go get -u github.com/moby/tool/cmd/moby | |
go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit | |
Invoke-WebRequest -UseBasicParsing -OutFile dockerd.exe https://master.dockerproject.org/windows/x86_64/dockerd.exe
Invoke-WebRequest -UseBasicParsing -OutFile docker.exe https://master.dockerproject.org/windows/x86_64/docker.exe
This document outlines steps and common tasks for setting up a arm64 dev machine for LinuxKit.
If you set up a server on packet.net using the docker account please use your name/slackhandle/initials in the machine name. We will garbage collect machine and whack machine not adhering to this policy without warning :).
Deploy a Ubuntu 16.04 LTS server on packet.net and ssh in as root.
linux: docker swarm init --advertise-addr 172.16.10.187 | |
windows: docker swarm join --token SWMTKN-1-5uh7ngqugobziornkhqiw5o414mii26ohehuuoqimfnuegg2qm-egbpl6vsjirswg5l81eanam8v 172.16.10.187:2377 | |
linux: docker node update --label-add node.labels.os=linux rn-ub-vm | |
linux: docker node update --label-add node.labels.os=windows win-nuc1 | |
linux: docker network create --subnet 10.100.0.0/24 --gateway 10.100.0.1 -d overlay mynet | |
linux: docker service create --network mynet --constraint 'node.labels.os==linux' --detach -p 8080:80 --name nginx nginx | |
linux: docker service create --network mynet --constraint 'node.labels.os==windows' --detach --name nano microsoft/nanoserver |
Create a container running squid: | |
``` | |
docker run --name squid -d -p 3128:3128 sameersbn/squid:3.3.8-14 | |
``` | |
Create a `proxy.pac` file (change IP address as needed): | |
``` | |
function FindProxyForURL(url, host) | |
{ | |
return "PROXY 172.16.10.36:3128" ; |