ncarlier / dockerfiles

My dockerfiles.
MIT License
52 stars 13 forks source link

Documentation unclear #4

Closed fabltd closed 7 years ago

fabltd commented 7 years ago

Docs states:

Build

For each subfolder: build image with make

How? & where?

ncarlier commented 7 years ago

Example: If you want to build yourself the MQTT image:

cd mqtt
make # to get available commands
make build # to build the image
fabltd commented 7 years ago

Thanks is this once inside the container?

ncarlier commented 7 years ago

No, all make commands have to be run on your docker host. If you want to get in a container you can start a container with bash as entrypoint by using make shell. You will get a shell prompt inside the container. Or if the container is running (with make start) you can use usual docker command: docker exec -it <nameofyourcontainer> to get in