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
$ dstat | |
You did not select any stats, using -cdngy by default. | |
--total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system-- | |
usr sys idl wai stl| read writ| recv send| in out | int csw | |
6 2 91 0 0| 679k 3332k| 0 0 | 62B 841B|6227 24k | |
6 2 92 0 0| 0 112k|1858B 785B| 0 0 |4803 21k | |
3 2 95 0 0| 256k 328k| 966B 278B| 0 0 |3943 20kTraceback (most recent call last): | |
File "/usr/bin/dstat", line 2847, in <module> | |
main() | |
File "/usr/bin/dstat", line 2687, in main |
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
pipeline { | |
stages { | |
stage('test matrix') { | |
steps { | |
script { | |
// generate tasks | |
parallel(tasks) | |
} | |
} | |
} |
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
Sep 13 11:00:01 debian systemd[1]: docker.service: Unit entered failed state. | |
Sep 13 11:00:01 debian systemd[1]: docker.service: Failed with result 'exit-code'. | |
Sep 13 11:00:01 debian systemd[1]: docker.service: Service hold-off time over, scheduling restart. | |
Sep 13 11:00:01 debian dockerd[6038]: github.com/docker/docker/daemon/config.init() | |
Sep 13 11:00:01 debian dockerd[6038]: /build/docker-tianon-u6rS7G/docker-tianon-17.06.1/.gopath/src/github.com/docker/docker/daemon/config/config_unix.go:64 +0x6a fp=0xc420043f80 sp=0xc420043f40 | |
Sep 13 11:00:01 debian dockerd[6038]: main.init() | |
Sep 13 11:00:01 debian dockerd[6038]: /build/docker-tianon-u6rS7G/docker-tianon-17.06.1/.gopath/src/github.com/docker/docker/cmd/dockerd/service_unsupported.go:15 +0x64 fp=0xc420043f88 sp=0xc420043f80 | |
Sep 13 11:00:01 debian dockerd[6038]: runtime.main() | |
Sep 13 11:00:01 debian dockerd[6038]: /build/docker-tianon-u6rS7G/docker-tianon-17.06.1/golang/src/runtime/proc.go:173 +0x1d4 fp=0xc420043fd8 sp=0xc420043f88 |
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
Cancelling nested steps due to timeout | |
Body did not finish within grace period; terminating with extreme prejudice | |
Aborted by Peter Salvatore | |
Click here to forcibly terminate running steps | |
Terminating withEnv | |
Terminating withEnv | |
Terminating stage | |
Click here to forcibly kill entire build | |
Hard kill! |
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
ubuntu@xenial:~$ sudo snap remove docker | |
docker removed | |
ubuntu@xenial:~$ sudo snap install --candidate docker | |
docker (candidate) 17.03.1-ce-0 from 'docker-inc' installed | |
ubuntu@xenial:~$ docker run -d --name test redis | |
Unable to find image 'redis:latest' locally | |
latest: Pulling from library/redis | |
10a267c67f42: Pull complete | |
5b690bc4eaa6: Pull complete | |
4cdd94354d2a: Pull complete |
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 run -it --name stack-temp haskell:8.0.2 stack new example | |
Downloading template "new-template" to create project "example" in example/ ... | |
The following parameters were needed by the template but not provided: author-email, author-name, category, copyright, github-username | |
You can provide them in /root/.stack/config.yaml, like this: | |
templates: | |
params: | |
author-email: value | |
author-name: value | |
category: value |
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
import json | |
import requests | |
# only care about manifest list or v2 manifests | |
manifest_header = ' '.join([ | |
'application/vnd.docker.distribution.manifest.list.v2+json', | |
'application/vnd.docker.distribution.manifest.v2+json']) | |
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 stack deploy --compose-file docker-compose.yml vossibility | |
Creating service vossibility_nsqd | |
Creating service vossibility_logstash | |
Updating service vossibility_elasticsearch (id: iz61zlud8zlhcq1z5xqzfe1rj) | |
Updating service vossibility_kibana (id: x1ohux8tv5v5e8mrsb8mae6n9) | |
Creating service vossibility_ghollector | |
Creating service vossibility_lookupd | |
$ docker stack ls | |
NAME SERVICES | |
vossibility 6 |
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 DOCKER DOCKER | |
app-emulation/docker btrfs container-init | |
>=sys-libs/libseccomp-2.2.3 static-libs | |
sys-process/tini static |
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
1. docker pull a bunch of official repos | |
$ ./bashbrew.sh list --uniq debian ubuntu alpine ... | |
Tag not found: | |
java:openjdk-7u91-jdk | |
java:openjdk-7u91-jre | |
2. remove "--uniq" and docker pull again |
NewerOlder