docker build --iidfile ./imageid.txt .
Category: Docker
Write the built image ID to a file after build