![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Alpine
dijk
这个作者很懒,什么都没留下…
展开
-
Alpine: get system info
Alpine: get system infolocalhost:~# cat /proc/versionLinux version 4.14.85-0-virt (buildozer@build-3-8-x86_64) (gcc version 6.4.0 (Alpine 6.4.0)) #1-Alpine SMP Tue Dec 4 17:35:30 UTC 2018localhost...原创 2018-12-16 13:38:21 · 296 阅读 · 0 评论 -
Problem: Alpine: apk add docker ERROR: unsatisfiable constraints
Problemapk add docker ERROR: unsatisfiable constraints:...Solution// update repositoriesvi /etc/apk/repositories#/media/cdrom/apkshttp://mirrors.tuna.tsinghua.edu.cn/alpine/v3.8/mainhttp://...原创 2018-12-16 13:44:22 · 5158 阅读 · 2 评论 -
Alpine: Docker commands
Alpine: Docker commands// update repositoriesvi /etc/apk/repositories// add mirrors below#/media/cdrom/apkshttp://mirrors.tuna.tsinghua.edu.cn/alpine/v3.8/mainhttp://mirrors.tuna.tsinghua.edu.c...原创 2018-12-16 14:38:47 · 228 阅读 · 0 评论 -
Alpine: install docker compose
Alpine install docker compose// seems there is a problem with Alpine 3.8.1 virtual, can not work!# apk add curl# curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-...原创 2018-12-16 14:44:40 · 414 阅读 · 0 评论 -
Alpine: change current shell
Alpine change current shell// change current shell# vi /etc/passwd# change by dijkroot:x:0:0:root:/root:/bin/ash#root:x:0:0:root:/root:/bin/bash// see current shell# echo $0or# echo $SHELL...原创 2018-12-16 14:49:17 · 680 阅读 · 0 评论 -
Alpine: install zsh and oh-my-zsh
Alpine: install zsh and oh-my-zsh# cat /etc/shells# valid login shells/bin/sh/bin/ash/bin/bash# apk add zsh# cat /etc/shells# valid login shells/bin/sh/bin/ash/bin/bash/bin/zsh// chang...原创 2018-12-16 14:53:44 · 1547 阅读 · 0 评论 -
VirtualBox: Installing Alpine 3.8.1
VirtualBox Installing Alpine 3.8.1Install启动虚拟机,用光盘启动,然后用root登录AlpineLinux,没有密码敲入命令setup-alpine跟随命令行向导一步一步执行在选择安装源时,敲入“f”让系统自己寻找一个最快的源在选择安装目标盘时,敲入“sda”在选择分区类型时,敲入“sys”装完了,退出光盘,重启虚拟机Confi...原创 2018-12-10 20:28:42 · 404 阅读 · 0 评论 -
Alpine: install docker
Alpine install dockerInstall docker// 安装docker,并使其服务端随系统启动# apk add docker# ln -s /etc/init.d/docker /etc/runlevels/default/dockerDocker mirror acceleration// Docker国内镜像加速# touch /etc/docker...原创 2018-12-10 20:39:41 · 489 阅读 · 0 评论 -
Alpine: install SDKMAN!
Alpine install SDKMAN!InstallInstalling SDKMAN! on UNIX-like platforms is as easy as ever. SDKMAN! installs smoothly on Mac OSX, Linux, Cygwin, Solaris and FreeBSD. We also support Bash and ZSH she...原创 2018-12-10 20:52:13 · 693 阅读 · 0 评论