Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Container name depends on docker-compose version.#48

Open
shaohef wants to merge 2 commits into
intel:masterfrom
shaohef:patch-1
Open

Container name depends on docker-compose version.#48
shaohef wants to merge 2 commits into
intel:masterfrom
shaohef:patch-1

Conversation

@shaohef

@shaohef shaohef commented Jun 28, 2023

Copy link
Copy Markdown

Docker compose setup dnsmasq container will join several words to combine container name with "_" or "-".

"_" or "-" depends on the docker version.

Docker compose setup dnsmasq container will join several words to combine container name with "_" or "-". 

"_" or "-" depends on the docker version.
@shaohef

shaohef commented Jun 28, 2023

Copy link
Copy Markdown
Author

There are still server hardcode for docker container name in
https://github.com/intel/Edge-Software-Provisioner/blob/master/scripts/espctl.sh

@shaohef

shaohef commented Jun 28, 2023

Copy link
Copy Markdown
Author

Can we use this command to find the dnsmasq container?

docker ps -f ancestor=builder-dnsmasq --format '{{.ID}}' | head -n 1

@dvintel

dvintel commented Jun 28, 2023

Copy link
Copy Markdown
Contributor

Can we use this command to find the dnsmasq container?

docker ps -f ancestor=builder-dnsmasq --format '{{.ID}}' | head -n 1

this looks really interesting! I like the idea

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants