app icon indicating copy to clipboard operation
app copied to clipboard

docker-app help is missleading and lists unknown options

Open apollo13 opened this issue 5 years ago • 1 comments

Description

docker-app --help lists the following options:

Options:
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default "/home/florian/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default "/home/florian/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default "/home/florian/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information

Yet none of them seems to work:

docker-app --tls deploy fapolloner/traefik.dockerapp
Error: Status: unknown flag: --tls
See 'docker-app deploy --help'., Code: 125

Describe the results you received:

I receive an error that none of the options works.

Describe the results you expected:

Proper usage of the options in question.

Output of docker version:

Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:48:53 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:16:44 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Output of docker-app version:

Version:      v0.6.0-14-gcc05b95b
Git commit:   cc05b95b
Built:        Thu Nov 15 21:58:09 2018
OS/Arch:      linux/amd64
Experimental: on
Renderers:    gotemplate, mustache, none, yatee

Output of docker info:

Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 3
Server Version: 18.09.0
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
 NodeID: 1ukv1v8kv5nxzvuc824vh2l06
 Is Manager: true
 ClusterID: xnzkhjn6508920c1ae5xqjbzy
 Managers: 1
 Nodes: 1
 Default Address Pool: 10.0.0.0/8  
 SubnetSize: 24
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 10
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
  Force Rotate: 0
 Autolock Managers: false
 Root Rotation In Progress: false
 Node Address: 172.17.0.1
 Manager Addresses:
  172.17.0.1:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.18.0-2-amd64
Operating System: Debian GNU/Linux buster/sid
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.616GiB
Name: apollo13
ID: 3XOJ:L6AB:KGCO:SHDE:AGKK:W7PR:ID53:UU7I:FBWP:B4KC:CIHR:UVTJ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No swap limit support

apollo13 avatar Nov 29 '18 10:11 apollo13

The overall CLI flag set will change quite dramatically with the move to the CNAB runtime. We are actively working on that right now, but this should, as a side effect resolve this issue

simonferquel avatar Jan 14 '19 10:01 simonferquel