docker / docker/docker-py

`create_host_config` and `mac_address`

Open
#3,283 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi

Why don't we have an option for mac_address in the create_host_config function?

For example, SaltStack calls this function before creating a container and ignores the mac_address option because this function will not recognize that.

image

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.

Research direction

Start by locating the create_host_config entry point in docker-py and reviewing how it handles host configuration options. Compare its behavior with the mac_address option described in the issue and check the surrounding tests or API documentation. Done means the option is recognized and its expected value is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
api, backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.