Skip to content

Container name depends on docker-compose version.#48

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

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

Conversation

@shaohef
Copy link

@shaohef shaohef commented Jun 28, 2023

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
Copy link
Author

shaohef commented Jun 28, 2023

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

@shaohef
Copy link
Author

shaohef commented Jun 28, 2023

Can we use this command to find the dnsmasq container?

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

@dvintel
Copy link
Contributor

dvintel commented Jun 28, 2023

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants