Fix mtr command on Mac 10.14
| 1 2 3 4 | brew install mtr sudo ln -s /usr/local/sbin/mtr-packet /usr/bin/mtr-packet sudo ln -s /usr/local/Cellar/mtr/0.92/sbin/mtr /usr/bin/mtr sudo mtr www.google.com | 
| 1 2 3 4 | brew install mtr sudo ln -s /usr/local/sbin/mtr-packet /usr/bin/mtr-packet sudo ln -s /usr/local/Cellar/mtr/0.92/sbin/mtr /usr/bin/mtr sudo mtr www.google.com | 
| 1 2 | # download the template from source lxc-create -t download -n test -- -a arm64 -d debian -r stretch --flush-cache | 
Setting up the GPG keyring
Downloading the image index
—
DIST RELEASE ARCH VARIANT BUILD
—
debian stretch arm64 default 20190105_05:26
—
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs
—
You just created a Debian stretch arm64 (20190105_05:26) container.
To enable SSH, run: apt install openssh-server
No default root or user password are set by LXC.
| 1 2 3 4 5 6 7 8 9 | # attach to the lxc lxc-attach -n test # reset the root password in lxc root@test:~# passwd root # update apt and install openssh-server in lxc  apt update apt install openssh-server | 
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | LXC container image downloader Special arguments: [ -h | --help ]: Print this help message and exit. [ -l | --list ]: List all available images and exit. Required arguments: [ -d | --dist <distribution> ]: The name of the distribution [ -r | --release <release> ]: Release name/version [ -a | --arch <architecture> ]: Architecture of the container Optional arguments: [ --variant <variant> ]: Variant of the image (default: "default") [ --server <server> ]: Image server (default: "images.linuxcontainers.org") [ --keyid <keyid> ]: GPG keyid (default: 0x...) [ --keyserver <keyserver> ]: GPG keyserver to use [ --no-validate ]: Disable GPG validation (not recommended) [ --flush-cache ]: Flush the local copy (if present) [ --force-cache ]: Force the use of the local copy even if expired LXC internal arguments (do not pass manually!): [ --name <name> ]: The container name [ --path <path> ]: The path to the container [ --rootfs <rootfs> ]: The path to the container's rootfs [ --mapped-uid <map> ]: A uid map (user namespaces) [ --mapped-gid <map> ]: A gid map (user namespaces) | 
If you like alpine, you can use the following command:
| 1 | sudo MIRROR=http://mirrors.ustc.edu.cn/alpine lxc-create -t download -n alpine -- -a arm64 -d alpine -r 3.9  --flush-cache | 
When pod shows like Unable to find a pod with name, author, summary, or description matching
The solution is
| 1 | rm ~/Library/Caches/CocoaPods/search_index.json | 
Means remove the search the index. After pod search again, the search index will recreate and works fine.