Stop a container Remove a container List Images Build image from a Dockerfile Create an image Display system-wide information Show the docker version information ...
on Ubuntu $OPTIONS in /etc/sysconfig/docker on other Linux if 192.0.2.1 is a client, D O C K E R _ O P T S = " - H 1 9 2 . 0 . 2 . 1 : 2 3 7 6 - H u n i x : / / / v a r / r u n / d o c k e r . s o c k " O P T I O N S = " - H 1 9 2 . 0 . 2 . 1 : 2 3 7 6 - H u n i x : / / / v a r / r u n / d o c k e r . s o c k " https://docs.docker.com/engine/userguide/basics/#bind- docker-to-another-host-port-or-a-unix-socket
P T I O N S = " - H 1 9 2 . 0 . 2 . 1 : 2 3 7 6 - H u n i x : / / / v a r / r u n / d o c k e r . s o c k " # ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ or, docker commands are not available.
default, in your ~/.docker/machine/machines/(machine name)/ cert.pem key.pem this path is set by "$(docker-machine env (machine name))" as $DOCKER_CERT_PATH
/ / ( m a c h i n e i p ) : 2 3 7 6 / i n f o - O - - q | j q . for docker-machine w g e t \ - - n o - c h e c k - c e r t i f i c a t e \ - - c e r t i f i c a t e = $ { D O C K E R _ C E R T _ P A T H } / c e r t . p e m \ - - p r i v a t e - k e y = $ { D O C K E R _ C E R T _ P A T H } / k e y . p e m \ h t t p s : / / $ ( d o c k e r - m a c h i n e i p ( m a c h i n e n a m e ) ) : 2 3 7 6 / i n f o \ - O - - q | j q . "curl" can't handle non-checking local cert, so use "wget"
T * F R O M c p u _ l o a d _ s h o r t W H E R E h o s t = s e r v e r 0 1 A N D r e g i o n = u s - w e s t - - ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ - - t a b l e n a m e t a g s https://influxdb.com/docs/v0.9/query_language/data_explor
D A T A B A S E c u r l - G h t t p : / / l o c a l h o s t : 8 0 8 6 / q u e r y - - d a t a - u r l e n c o d e " q = C R E A T E D A T A B A S E m y d b " # I N S E R T c u r l - i - X P O S T ' h t t p : / / l o c a l h o s t : 8 0 8 6 / w r i t e ? d b = m y d b ' - - d a t a - b i n a r y ' c p u _ l o a d _ # S E L E C T c u r l - G ' h t t p : / / l o c a l h o s t : 8 0 8 6 / q u e r y ? d b = m y d b ' - - d a t a - u r l e n c o d e " q = S E L E C T v a l u https://influxdb.com/docs/v0.9/guides/writing_data.html https://influxdb.com/docs/v0.9/guides/querying_data.html
need inspect /sys c a t / s y s / f s / c g r o u p / m e m o r y / d o c k e r / < c o n t a i n e r - i d > / m e m o r y . s t a t c a t / s y s / f s / c g r o u p / c p u a c c t / d o c k e r / < c o n t a i n e r - i d > / c p u a c c t . s t a t pull architecture is unfit to cat local files agent is needed https://docs.docker.com/engine/articles/runmetrics/