Posts

Showing posts from November, 2019

Docker Notes

Here are some notes that I find helpful. ( Documentation: Docker Reference ) To display logs for a given container ( Documentation: Logs ) docker logs <container id> To bind volumes in the run command. ( Documentation: –v ) -v </local/path> : </container/path> To bind ports in the run command. ( Documentation: –p [search for port] ) -p <local port> : <container port> or –p <local port-range> : <container port-range>