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

[bug]Failed to run a container with empty label #2817

Closed
CodeJuan opened this issue Apr 30, 2019 · 1 comment · Fixed by #2824
Closed

[bug]Failed to run a container with empty label #2817

CodeJuan opened this issue Apr 30, 2019 · 1 comment · Fixed by #2824
Labels
kind/bug This is bug report for project

Comments

@CodeJuan
Copy link
Contributor

CodeJuan commented Apr 30, 2019

Ⅰ. Issue Description

./bin/pouch run --label k busybox top

Error: failed to run container: invalid label k: label must be in format of key=value

Ⅱ. Describe what happened

Error: failed to run container: invalid label k: label must be in format of key=value

Ⅲ. Describe what you expected to happen

Create a label k, the value of k is ""

Ⅳ. How to reproduce it (as minimally and precisely as possible)

./bin/pouch run --label k busybox top

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
GoVersion:       go1.12.1
KernelVersion:   4.14.0-1.el7.elrepo.x86_64
Os:              linux
Version:         1.3.0
APIVersion:      1.24
Arch:            amd64
BuildTime:       2019-04-16T02:27:23+08:00
GitCommit:       1.3.0-19-g33a9d82
  • OS (e.g. from /etc/os-release):
NAME="CentOS Linux"
VERSION="7 (Core)"
  • Kernel (e.g. uname -a):
4.14.0-1.el7.elrepo.x86_64
  • Install tools:
  • Others:
@pouchrobot pouchrobot added the kind/bug This is bug report for project label Apr 30, 2019
@Flsorescence
Copy link
Contributor

I will try to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project
Projects
None yet
3 participants