Bash completion needs the utility installed. On OSX follow these steps:
- Do not skip the linked Stack Overflow on properly installing bash-completion using brew on OSX
Running without root (not using sudo)
Docker runs as root on a host machine. With most Linux installs, you'll need to give your user account access to docker so that you don't need to run every Docker command with sudo.
In OS X (and likely Windows), using Docker Machine is essentially using VirtualBox. The default virtual machine you created through Docker Machine likely was created to use one CPU, set memory etc. It can be very useful to increase these virtual machine limits. The general steps are:
- Open VirtualBox
- Stop docker's virtual machine (likely named "default")
- Right click on virtual machine, go to Settings
- Go to Tab: System
- Adjust memory size and CPU on Motherboard and Processor tabs respectively.
Docker on Windows
Docker recently added a docker system prune command which can be used for thorough and convenient cleanup. Environments which don't yet sport the command, however, offer the following alternatives.
View running containers:
This shows a real-time list of containers by ID with their CPU and Memory usage: