You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We can't create a Docker container with a custom MAC address due to the docker package problem.
Setup
[ x ] on-prem machine
[ x ] used bootstrap to install
Steps to Reproduce the behavior
Try to create a docker container with the mac_address option.
The created container does not have any Network.host.MacAddress value.
Expected behavior
Create Docker container
Screenshots
Versions Report
salt --versions-report
Salt Version:
Salt: 3006.5Python Version:
Python: 3.9.2 (default, Feb 28 2021, 17:03:44)Dependency Versions:
cffi: 1.16.0cherrypy: Not Installeddateutil: 2.8.1docker-py: 7.1.0gitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.3libgit2: Not Installedlooseversion: 1.3.0M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.7msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 23.2pycparser: 2.21pycrypto: Not Installedpycryptodome: 3.20.0pygit2: Not Installedpython-gnupg: Not InstalledPyYAML: 6.0.1PyZMQ: 25.1.2relenv: Not Installedsmmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: debian 11.11 bullseyelocale: utf-8machine: x86_64release: 5.10.0-30-amd64system: Linuxversion: Debian GNU/Linux 11.11 bullseye
Additional context
I think there is a problem with the create_host_config function in the docker-py package as I mentioned here. There isn't any mac_address option for this function, therefore we'll see a warning:
[WARNING ] The following arguments were ignored because they are not recognized by docker-py: ['mac_address']
The text was updated successfully, but these errors were encountered:
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Description
We can't create a Docker container with a custom MAC address due to the
docker
package problem.Setup
Steps to Reproduce the behavior
mac_address
option.Network.host.MacAddress
value.Expected behavior
Create Docker container
Screenshots
Versions Report
salt --versions-report
Additional context
I think there is a problem with the
create_host_config
function in thedocker-py
package as I mentioned here. There isn't anymac_address
option for this function, therefore we'll see a warning:The text was updated successfully, but these errors were encountered: