Работайте офлайн с приложением Player FM !
HPR3511: Podman like Vagrant
Manage episode 317827111 series 108988
I used to use Vagrant to spin up minimal virtual machines when I needed to test code on a different distro than what I ran. Lately I've switched to Podman.
Install Podman with your distribution's package manager.
Configure it:
$ sudo --add-subuids 200000-265536 \ --add-subgids 200000-265536 \ $USER
Create a directory to share data between your container and your localhost:
$ mkdir data
Run a container, with your ./data directory mapped to /storage in the container:
$ podman run -it --volume ./data:/storage:Z busybox
4105 эпизодов
Manage episode 317827111 series 108988
I used to use Vagrant to spin up minimal virtual machines when I needed to test code on a different distro than what I ran. Lately I've switched to Podman.
Install Podman with your distribution's package manager.
Configure it:
$ sudo --add-subuids 200000-265536 \ --add-subgids 200000-265536 \ $USER
Create a directory to share data between your container and your localhost:
$ mkdir data
Run a container, with your ./data directory mapped to /storage in the container:
$ podman run -it --volume ./data:/storage:Z busybox
4105 эпизодов
ทุกตอน
×Добро пожаловать в Player FM!
Player FM сканирует Интернет в поисках высококачественных подкастов, чтобы вы могли наслаждаться ими прямо сейчас. Это лучшее приложение для подкастов, которое работает на Android, iPhone и веб-странице. Зарегистрируйтесь, чтобы синхронизировать подписки на разных устройствах.