For keybase.io
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
{ | |
"default": [ | |
{ | |
"type": "insecureAcceptAnything" | |
} | |
], | |
"transports": | |
{ | |
"docker-daemon": | |
{ |
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
kubeletArguments: | |
container-runtime: | |
- remote | |
container-runtime-endpoint: | |
- /var/run/crio.sock | |
experimental-cri: | |
- 'true' | |
image-service-endpoint: | |
- /var/run/crio.sock | |
node-labels: |
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
diff --git a/cmd/kpod/load.go b/cmd/kpod/load.go | |
index ae346bc8..97783682 100644 | |
--- a/cmd/kpod/load.go | |
+++ b/cmd/kpod/load.go | |
@@ -1,6 +1,8 @@ | |
package main | |
import ( | |
+ "fmt" | |
+ "os" |
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" | |
"log" | |
"os" | |
"syscall" | |
"time" | |
) |
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
{ | |
"ociVersion": "1.0.0-rc5-dev", | |
"platform": { | |
"os": "linux", | |
"arch": "amd64" | |
}, | |
"process": { | |
"terminal": true, | |
"user": { | |
"uid": 0, |
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 -ue | |
usage() | |
{ | |
cat << _EOF_ | |
Usage: $0 options | |
OPTIONS: | |
-h Display help. | |
-i Path to the image. |
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 -x | |
runc list | awk '{print $1}' | grep -v ID | xargs runc delete -f | |
mount | grep shm | grep /tmp/tmp | awk '{print $3}' | xargs umount | |
mount | grep devicemapper | grep /tmp/tmp | awk '{print $3}' | xargs umount | |
rm -rf /tmp/tmp.* | |
mount | grep shm | grep /var/lib/ocid | awk '{print $3}' | xargs umount | |
mount | grep devicemapper | grep /var/lib/ocid | awk '{print $3}' | xargs umount | |
rm -rf /var/lib/ocid |
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
diff --git a/Makefile b/Makefile | |
index a84c539..de40636 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -25,7 +25,7 @@ MAN_INSTALL_PATH := ${PREFIX}/share/man/man8/ | |
VERSION := ${shell cat ./VERSION} | |
all: $(RUNC_LINK) | |
- go build -i -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -tags "$(BUILDTAGS)" -o runc . | |
+ go build -i -ldflags "-X main.gitCommit ${COMMIT} -X main.version ${VERSION}" -tags "$(BUILDTAGS)" -o runc . |
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
diff --git a/Makefile b/Makefile | |
index a84c539..16b0ec1 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -25,7 +25,7 @@ MAN_INSTALL_PATH := ${PREFIX}/share/man/man8/ | |
VERSION := ${shell cat ./VERSION} | |
all: $(RUNC_LINK) | |
- go build -i -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION}" -tags "$(BUILDTAGS)" -o runc . | |
+ go build -i -tags "$(BUILDTAGS)" -o runc . |