Docker container mac address

docker

#1

Is there a possibility to start a service container with a specific mac address?

I’m using proprietary software on this container that validates licenses based on the host’s mac address.
Everything would work fine if I could use docker’s --mac-address option.

My config.yml looks like this:

version: 2
jobs:
  build:
    docker:
      - image: circleci/node:8
      - image: lukashechenberger/my-custom-image
        auth:
          username: $DOCKER_USER
          password: $DOCKER_PASS
        mac-address: $SERVER_MAC
        environment:
          LICENSE: $SERVER_LICENSE
    steps:
      ...

(The mac-address config value is ignored)


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.