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 docker | |
| client = docker.Client(base_url='unix://var/run/docker.sock', version='1.11', timeout=10) | |
| client.pull('busybox', tag='latest') | |
| container = client.create_container('busybox:latest', volumes=['/var/run/docker.sock']) | |
| # This fails. It's based on https://github.com/dotcloud/docker-py#using-volumes | |
| client.start(container, binds={'/var/run/docker.sock': {'bind': '/var/run/docker.sock', 'ro': False}}) |
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
| LoadPlugin postgresql | |
| <Plugin postgresql> | |
| <Query bgwriter> | |
| Statement "SELECT checkpoints_timed, checkpoints_req, \ | |
| buffers_checkpoint, buffers_clean, maxwritten_clean, \ | |
| buffers_backend, buffers_alloc \ | |
| FROM pg_stat_bgwriter" | |
| <Result> |
NewerOlder