db-api

docker run -d --name db_api -p 8520:8520 freakchicken/db-api
# https://github.com/freakchick/DBApi

docker exec -it db_api bash
cat >/etc/apt/sources.list <<'EOF'
deb https://mirrors.aliyun.com/debian  stable main contrib non-free
deb https://mirrors.aliyun.com/debian  stable-updates main contrib non-free
EOF

apt-get update

apt install -y vim mycli

posted @ 2021-07-08 11:32  chenzechao  阅读(611)  评论(0编辑  收藏  举报