Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 416 Bytes

troubleshoot.md

File metadata and controls

29 lines (19 loc) · 416 Bytes

Issues

'name not resolved'

Clear DNS cache on your Mac:

sudo killall -HUP mDNSResponder

Or add an alias:

alias dnsflush='sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;echo dns cache flushed'
alias flushdns='dnsflush'

I need my ssh key in my container

Add your ssh key as a volume:

app:
    image: php
    volumes:
        - ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro