Add `pull` to the list of kwargs to pass to create and run

Open Beginner friendly
#3,369 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
docker, python
Domain
api

Research direction

Locate RUN_CREATE_KWARGS and RUN_HOST_CONFIG_KWARGS, then trace how create and run pass keyword arguments into the Docker Engine API. Done means the pull option is accepted for the requested pull policy when starting or creating a container, with the relevant behavior verified.

Written by the indexing model from the issue text.

Description

Hello, could you guys add "pull" to the lists RUN_CREATE_KWARGS or RUN_HOST_CONFIG_KWARGS so we can start/create a container with the pull-policy set?

Thank you.

Dominant language
Python
Stars
7.2k
Forks
1.7k
Avg merge
13d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/docker-py

All issues in docker/docker-py

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.