multiple images were pulled by one command
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented Python example, client.containers.run("ubuntu", "echo hello world"), in the reported Docker Desktop environment and inspect the resulting image tags. Read the Docker SDK for Python documentation and the container-run and image-pull behavior; done means determining whether the multiple images are expected and documenting the cause or a concrete change needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100