Skip to content

Commit

Permalink
Docker build will not accept uppercase name
Browse files Browse the repository at this point in the history
  • Loading branch information
poproar authored Jan 24, 2018
1 parent d5e1d7e commit 1f6cdbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Ensure the entrypoint file is executable
```chmod +x docker-entrypoint.sh```

## Step four (4)
Build a docker image (you can name it anything you want @poproar used jekyllHackNight for clarity)
Build a docker image (you can name it anything you want @poproar used jkl for simplicity but it must be all lowercase)

```docker build --force-rm -t jekyllHackNight .```
```docker build --force-rm -t jkl .```

## Step five (5)
Run your container (@poproar used port 4000 for his own sanity but you could use any port like 80:4000)

```docker run --rm -p 4000:4000 -v $(pwd):/site jekyllHackNight```
```docker run --rm -p 4000:4000 -v `pwd`:/site jkl```

## Step six (6)
Point your browser to [localhost:4000](http://localhost:4000) or just [localhost](http://localhost) if you used port 80
Expand Down

0 comments on commit 1f6cdbc

Please sign in to comment.