hashicorp / docker-hub-images

Automatic builds of container images for Docker Hub
Mozilla Public License 2.0
127 stars 111 forks source link

[packer] auto expose Port for docker packer:light container #103

Open janlauber opened 3 years ago

janlauber commented 3 years ago

Dear hashicorp team Is there a way to autoexpose the packerport onto the Dockerhost for Provisioning the user-data / meta-data file via http out of the docker network? Would be awesome, because currently I'm using the packer:light image as a gitlab runner and so the packer http server only exposes itself in the docker network for prov the user-data / meta-data stuff. Would be nice if you implement this or show me a valid workaround.