The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

514521 (1) [Avatar] Offline

In chapter 6, when I built the fortune container I kept getting an error "permission denied" in the logs of the html-generator container. It looks like I needed to make the sh file executable in order for the container to run successfully.

I found this fixed the issue for me:

RUN chmod +x /bin/

The final Dockerfile that worked for me is:

FROM ubuntu:latest
RUN apt-get update ; apt-get -y install fortune
ADD /bin/
RUN chmod +x /bin/

Just putting this here in case it can help anyone else with the same issue.