To try it out I decided to build a VM based on Alpine so I can evaluate it as a container image base.
Adventures in the Alpines so far:
- There is a pretty good starting guide, with some caveats:
- use bridged connection instead of nat if you want to see your vm from your host/other machines in the network, and performs better too
- use the latest-stable url to enable community repository, otherwise you could get some ugly kernel incompatibility errors
- Minimalist samba install (loosely based on this wiki page)
- apk add samba
- mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
- nano /etc/samba/smb.conf
- Enter the above to the text editor, save and exit
workgroup = WORKGROUP
netbios name = server1
security = user
map to guest = Bad User
dns proxy = no
- Start/enable service
- rc-update add samba
- rc-service samba start
- Enable ssh access
- nano /etc/ssh/sshd_config
- #PermitRootLogin prohibit-password => PermitRootLogin yes
- rc-service sshd restart
- Docker install is fairly simple
- apk add docker
- rc-update add docker boot
- rc-service docker start
- Some other utilities to install:
- apk add git
- apk add nodejs
Nincsenek megjegyzések:
Megjegyzés küldése