This file contains hidden or 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
| Example of rkt today with systemd service file generation and systend-nspawn execution of systemd. | |
| $ sudo rkt run docker://redis --insecure-options image | |
| $ rkt list | grep redis | |
| 764de9a0 redis registry-1.docker.io/library/redis:latest running 5 minutes ago 5 minutes ago default:ip4=172.16.28.2 | |
| $ ps aux | grep 764de9a0 | |
| root 8168 4.4 0.1 41780 4440 pts/2 S+ 19:04 0:13 stage1/rootfs/usr/lib/ld-linux-x86-64.so.2 stage1/rootfs/usr/bin/systemd-nspawn --boot --register=true --link-journal=try-guest --quiet --uuid=764de9a0-9442-4512-9d73-5a040dac5fe2 --machine=rkt-764de9a0-9442-4512-9d73-5a040dac5fe2 --directory=stage1/rootfs --bind=/mnt/sda1/var/lib/rkt/pods/run/764de9a0-9442-4512-9d73-5a040dac5fe2/sharedVolumes/redis-volume-data:/opt/stage2/redis/rootfs/data --capability=CAP_AUDIT_WRITE,CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FSETID,CAP_FOWNER,CAP_KILL,CAP_MKNOD,CAP_NET_RAW,CAP_NET_BIND_SERVICE,CAP_SETUID,CAP_SETGID,CAP_SETPCAP,CAP_SETFCAP,CAP_SYS_CHROOT -- --default-standard-output=tty --log-target=nul |
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "tectonic-channel" | |
| }, | |
| "apiVersion": "channel.tectonic.com/v1", | |
| "kind": "Version", | |
| "channel": "alpha", | |
| "server": "https://update.core-os.net", | |
| "updatesPaused": false, | |
| "publicKey": "gpg-public-key-override" |
This file contains hidden or 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
| --- | |
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| labels: | |
| name: prometheus-deployment | |
| name: prometheus | |
| spec: | |
| replicas: 1 | |
| template: |
This file contains hidden or 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
| $ DOCKER_BUILDTAGS="exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_aufs" AUTO_GOPATH=1 ./hack/make.sh binary |
This file contains hidden or 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
| [Unit] | |
| Description=Docker Application Container Engine | |
| Documentation=http://docs.docker.com | |
| After=docker.socket early-docker.target network.target | |
| Requires=docker.socket early-docker.target | |
| [Service] | |
| EnvironmentFile=-/run/flannel_docker_opts.env | |
| MountFlags=slave | |
| LimitNOFILE=1048576 |
This file contains hidden or 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" | |
| "net/http" | |
| ) | |
| func main() { | |
| waitIndex := 0 | |
| for { |
This file contains hidden or 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
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| Version: GnuPG v1 | |
| mQINBFGL6agBEAC9i3rxSHYvRzyUrxYQQiq3O8VVNFmnU95+I4w8UeH2bmFQ7edp | |
| 55ZzWRQZkc5niEZ3Nx+HYujw3RFU3biWYHIotUPUqg3fJI/TUFiS45Uhf+8wP5yL | |
| lu0kUdaU4GuOeQNR1DqUCPnDaFxVZC9IdDce201pgwVbqZiEB5wY1W/OVmpKgYdU | |
| MGYhXpw1sV4gTolr0Dwn0npIfYoW60T76cT3qkP+uJQMgjVtTJSx/Gzkagi6YDrc | |
| Pun+VGU1UlxBOeVp6Olw27QWvnmYvhmLtSXhGj+lTMX1GMeLa/6xyLIDe3e1eW+w | |
| FbRFpoFfz9+fYV35leMo5BT1ZKlhlfgoffBpkUd0ydOmX5QmeNtLQN3WKEyIEDJ0 | |
| Nu6nNgUt7mKngZhvuBQk17IKO2zqkJdtNAuu1nUhUsIPtFeqmvm+GhBoRid5gX/G |
This file contains hidden or 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
| #cloud-config | |
| coreos: | |
| units: | |
| - name: docker-tcp.socket | |
| command: start | |
| enable: true | |
| content: | | |
| [Unit] | |
| Description=Docker Socket for the API |
This file contains hidden or 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" | |
| "github.com/vbatts/merkle" | |
| "io" | |
| "os" | |
| ) | |
| func traverse(n *merkle.Node) *merkle.Node { |
This file contains hidden or 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
| Instructions for trying ext4+overlay with docker! In an up-to-date SDK: | |
| Write the following to /build/amd64-usr/etc/portage/package.keywords/overlay | |
| sys-kernel/coreos-sources | |
| sys-kernel/coreos-kernel | |
| sys-fs/btrfs-progs | |
| app-emulation/docker | |
| In src/scripts make the following change to switch to ext4: |