# cli
brew install git gsed nodenv vim jq peco ffmpeg
# cask
brew install \
1password \
alfred \
alt-tab \
discord \
figma \
google-chrome \
hyper \
karabiner-elements \
keycastr \
ngrok \
slack \
tableplus \
visual-studio-code \
--cask
https://github.com/yuru7/HackGen
https://github.com/zplug/zplug
https://github.com/junegunn/vim-plug
mkdir ~/.vim
cd ~/.vim
mkdir colors
git clone https://github.com/tomasr/molokai
mv molokai/colors/molokai.vim ~/.vim/colors/
vi ~/.vimrc
cp /.* ./
# TODO: This command occurred `.git` directory copy
vim
# :PlugInstall
git config --global user.name "Takuya Eguchi"
git config --global user.email "[email protected]"
git config --global init.defaultbranch main
git config --global core.ignorecase false
git config --global core.autocrlf false
git config --global core.editor vim
git config --global color.ui true
git config --global pull.ff only
git config --global pull.rebase false
When I doing commercial development project, I have to use any other docker desktop like lima.
So maybe I install docker from Homebrew, but it does not bundle docker compose, I need to install docker compose manually.
https://github.com/docker/compose/tree/v2/#where-to-get-docker-compose
Docker Compose is included in Docker Desktop for Windows and macOS.
No I can't :(
# Apple Silicon
curl \
-SL https://github.com/docker/compose/releases/latest/download/docker-compose-darwin-aarch64 \
-o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
docker compose version
# => Docker Compose version v2.xx.x
Finally, I tried to use docker compose build
by factory reset docker but I got following error.
error getting credentials - err: docker-credential-osxkeychain resolves to executable in current directory (./docker-credential-osxkeychain), out: ``
I have not using Docker Desktop for Mac but default configuration applied using Mac key chain that was problem.
So, I need fix ~/.docker/config.json
to blank json like {}
, and login Docker Hub,
docker login
# and enter username and password
And I can get raw Docker Hub credential like following to ~/.docker/config.json
.
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "xxxxxxxxxx"
}
}
}
cf) docker/compose#6517 (comment)
Also I got following warning when login to docker hub
WARNING! Your password will be stored unencrypted in /Users/takuya/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
If I have concern this warning, I can use docker-credential=helpers
.
https://github.com/docker/docker-credential-helpers/releases
Finally (really), I tried to docker compose build
and it works.