Skip to content

multiple images were pulled by one command #2231

Open
@horitaku1124

Description

@horitaku1124

Hello

I referred this page Docker SDK for Python.
I execute these sample command, but I got many images by one command.

python3
Python 3.7.1 (default, Nov 28 2018, 11:51:47) 
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import docker
>>> client = docker.from_env()
>>> client.containers.run("ubuntu", "echo hello world")

after 1minutes, I got 4 ubuntu images

ubuntu              12.04               5b117edd0b76        21 months ago       104MB
ubuntu              12.04.5             5b117edd0b76        21 months ago       104MB
ubuntu              12.10               3e314f95dcac        4 years ago         172MB
ubuntu              10.04               e21dbcc7c9de        4 years ago         183MB

I am using macOS 10.14.2, Docker Desktop CE Version 2.0.0.2 (30215)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions