Skip to content

Commit

Permalink
Added troubleshooting entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Dwyer committed May 25, 2018
1 parent 5314ea6 commit cd06c0d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,14 @@ You can find the Docker Engine/Daemon log at (see [stackoverflow](https://stacko
- Red Hat Enterprise Linux Server - `/var/log/messages | grep docker`
- OpenSuSE - `journalctl -u docker.service`
- OSX - `~/Library/Containers/com.docker.docker/Datacom.docker.driver.amd64-linux/log/d‌​ocker.log`
- Windows - `Get-EventLog -LogName Application -Source Docker -After (Get-Date).AddMinutes(-5) | Sort-Object Time`
- Windows - `Get-EventLog -LogName Application -Source Docker -After (Get-Date).AddMinutes(-5) | Sort-Object Time`

## The dockerized-* commands don't work!

Do you have the environment variable `API_MODE` set to `dev`? If not, then:

```bash
export API_MODE=dev
```

This is necessary so that the dockerized commands get properly attached to the local `apinet` network when running in local swarm mode.

0 comments on commit cd06c0d

Please sign in to comment.