In your command-line run the following commands:
brew doctorbrew update
In your command-line run the following commands:
brew doctorbrew updateJust run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
| function camelCaseToDash( myStr ) { | |
| return myStr.replace( /([a-z])([A-Z])/g, '$1-$2' ).toLowerCase(); | |
| } | |
| var myStr = camelCaseToDash( 'thisString' ); | |
| alert( myStr ); // => this-string |
| du -cks * | sort -rn | head -11 | |
| # Usually set this up in my bash profile as an alias: | |
| # alias ducks='du -cks * | sort -rn | head -11' | |
| # Because it is fun to type ducks on the command line. :) |