dockermanagersingle

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 15 Imported by: 0

README

DockerManagerSingle


INTRODUCE

docker manager system provied API to manage single node's docker engine. there are 3 servers support service for out. first server is http server to handle docker operations. second is GRPC server handle docker operations too, but this one is handling long connections.third is a proxy for docker container.because of i don't want to export port to outter.you can setting 3 different port for 3 servers by launch parameters or configuration file.


BUILD

Window

set GOOS=windows set GOARCH=amd64 go build -o bin/dms-amd64.exe main.go

Linux

set GOOS=linux set GOARCH=amd64 go build -o bin/dms-amd64 main.go chmod +x bin/dms-amd64


RUN

Run environment

config.yaml and executable file in the same folder.

dms-amd64.exe

Start parameters

--http_enable (default value:true) --grpc_enable (default value:true) --http_port (default value:8998) --grpc_port (default value:8997)

Example

.\dms-amd64.exe --grpc_enable=false --api_port=9999

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package classification User API.
Package classification User API.
proxy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL