Docked some Containers

Goal:

  • Create Container from Docker Hub for environment

Lessons Learned:

  • Create Container using Nginx Docker Hub
  • Used Docker commands to set Nginx server to access on port 80
  • Build image & test

Create Container:

  • — = renamed container
  • -dt = run in background
  • ls & cat = ensure we have the correct file

Mkdir & cp:

Nginx to port 80:

  • chown =
  • – R =
  • – s =

Connect/inspect to port 80:

  • – curl = double check to IP-Address

Commit & Run image:

Leave a comment