I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
| # regions | |
| do_regions_sfo1: 3 | |
| do_regions_nyc2: 4 | |
| do_regions_ams2: 5 | |
| do_regions_sgp1: 6 | |
| do_regions_lon1: 7 | |
| # sizes | |
| do_sizes_32gb: 60 | |
| do_sizes_16gb: 61 |
I have spent quite a bit of time figuring out automounts of NFS shares in OS X...
Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:
/etc/auto_master (see last line):
#
# Automounter master map
#
+auto_master # Use directory service
| #!/bin/bash | |
| # Installation: | |
| # | |
| # 1. vim /etc/ssh/sshd_config | |
| # PrintMotd no | |
| # | |
| # 2. vim /etc/pam.d/login | |
| # # session optional pam_motd.so | |
| # |
| $ tar xvf netatalk-3.0.5.tar.bz2 | |
| $ cd netatalk-3.0.5 | |
| $ ./configure \ | |
| --with-init-style=debian \ | |
| --with-cracklib \ | |
| --without-libevent \ | |
| --with-pam-confdir=/etc/pam.d \ | |
| --with-dbus-sysconf-dir=/etc/dbus-1/system.d | |
| $ checkinstall --pkgname=netatalk-3.x --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no |
| #!/bin/sh | |
| # Credits to: | |
| # - http://vstone.eu/reducing-vagrant-box-size/ | |
| # - https://github.com/mitchellh/vagrant/issues/343 | |
| aptitude -y purge ri | |
| aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide | |
| aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30 | |
| aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5 |
| auth_basic "Restricted"; | |
| auth_basic_user_file /etc/nginx/htpasswd; |