Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support pouchd --version command line #43

Closed
allencloud opened this issue Nov 3, 2017 · 1 comment · Fixed by #197
Closed

[feature request] support pouchd --version command line #43

allencloud opened this issue Nov 3, 2017 · 1 comment · Fixed by #197
Assignees
Labels
areas/cli kind/feature kind/feature-request This is a feature request from community for PouchContainer

Comments

@allencloud
Copy link
Collaborator

allencloud commented Nov 3, 2017

Issue Description
Currently I failed to execute pouchd --version with error message:

root@ubuntu:~/go/src/github.com/alibaba/pouch# ./pouchd --version
Error: unknown flag: --version
Usage:
   [flags]

Flags:
  -c, --containerd string          where does containerd listened on (default "/var/run/containerd.sock")
      --containerd-config string   Specify the path of Containerd binary (default "/etc/containerd/config.toml")
      --containerd-path string     Specify the path of Containerd binary (default "/usr/local/bin/containerd")
  -D, --debug                      switch debug level
  -h, --help                       help for this command
      --home-dir string            The pouchd's home directory (default "/etc/pouchd")
  -l, --listen stringArray         which address to listen on (default [unix:///var/run/pouchd.sock])

root@ubuntu:~/go/src/github.com/alibaba/pouch# ./pouchd version
ERRO[2017-11-03 14:54:28.002306216] failed to new containerd's client: failed to connect containerd: failed to dial "/var/run/containerd.sock": dial unix /var/run/containerd.sock: connect: connection refused
INFO[0000] starting containerd                           module=containerd revision=20c621178a5f45938e71afad24df281002aac329 version=v1.0.0-beta.1
INFO[0000] setting subreaper...                          module=containerd
INFO[0000] loading plugin "io.containerd.content.v1.content"...  module=containerd type=io.containerd.content.v1
INFO[0000] loading plugin "io.containerd.metadata.v1.bolt"...  module=containerd type=io.containerd.metadata.v1
ERRO[2017-11-03 14:54:28.010396816] failed to wait process: /usr/local/bin/containerd, signal: killed
WARN[2017-11-03 14:54:28.010530606] process: /usr/local/bin/containerd exited
Error: failed to new daemon
Usage:
   [flags]

Flags:
  -c, --containerd string          where does containerd listened on (default "/var/run/containerd.sock")
      --containerd-config string   Specify the path of Containerd binary (default "/etc/containerd/config.toml")
      --containerd-path string     Specify the path of Containerd binary (default "/usr/local/bin/containerd")
  -D, --debug                      switch debug level
  -h, --help                       help for this command
      --home-dir string            The pouchd's home directory (default "/etc/pouchd")
  -l, --listen stringArray         which address to listen on (default [unix:///var/run/pouchd.sock])

We still missing this part.

Describe what happened:
failed to execute pouchd --version

Describe what you expected to happen:
pouchd --version works to return version info of pouchd

How to reproduce it (as minimally and precisely as possible):

  1. install pouch
  2. execute pouchd version

Anything else we need to know?:
NONE

Environment:

@allencloud allencloud added kind/feature kind/feature-request This is a feature request from community for PouchContainer areas/cli labels Nov 3, 2017
@allencloud
Copy link
Collaborator Author

#dibs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/cli kind/feature kind/feature-request This is a feature request from community for PouchContainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant