Skip to content

Docker create in not saving command which has multiple spaces #23329

@rohitjaini

Description

@rohitjaini

Output of docker version:
Docker Version:
Client:
Version: 1.12.0-dev
API version: 1.24
Go version: go1.6.2
Git commit: 3d80884
Built: Mon Jun 6 19:12:50 2016
OS/Arch: windows/amd64

Server:
Version: 1.12.0-dev
API version: 1.24
Go version: go1.6.2
Git commit: 3d80884
Built: Mon Jun 6 19:12:50 2016
OS/Arch: windows/amd64

Steps to reproduce the issue:
1.Docker create –name=test nanoserver ping 127.0.0.1 –t
2. Docker ps
3. The -t flag is missing.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
27b378e74c25 nanoserver "ping 127.0.0.1" 13 seconds ago Created test

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliClientkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.version/master

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions