Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@rhel8 fatherlinux]# rm -rf .config/containers/
- libpod.conf mounts.conf storage.conf
- [root@rhel8 fatherlinux]# rm -rf .config/containers/
- [root@rhel8 fatherlinux]# rm -rf .local/share/containers/
- [root@rhel8 fatherlinux]# yum module install container-tools
- Updating Subscription Management repositories.
- This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
- Last metadata expiration check: 0:09:53 ago on Thu 21 Oct 2021 11:58:39 AM EDT.
- Dependencies resolved.
- ===============================================================================================================================
- Package Architecture Version Repository Size
- ===============================================================================================================================
- Installing group/module packages:
- cockpit-podman noarch 32-2.module+el8.4.0+11990+22932769 rhel-8-for-x86_64-appstream-rpms 410 k
- crun x86_64 0.20.1-1.module+el8.4.0+11822+6cc1e7d7 rhel-8-for-x86_64-appstream-rpms 192 k
- skopeo x86_64 1:1.3.1-5.module+el8.4.0+11990+22932769 rhel-8-for-x86_64-appstream-rpms 7.0 M
- toolbox noarch 0.0.8-1.module+el8.4.0+11822+6cc1e7d7 rhel-8-for-x86_64-appstream-rpms 16 k
- udica noarch 0.2.4-2.module+el8.4.0+11822+6cc1e7d7 rhel-8-for-x86_64-appstream-rpms 51 k
- Installing dependencies:
- python3-pip noarch 9.0.3-19.el8 rhel-8-for-x86_64-appstream-rpms 20 k
- python36 x86_64 3.6.8-2.module+el8.1.0+3334+5cb623d7 rhel-8-for-x86_64-appstream-rpms 19 k
- yajl x86_64 2.1.0-10.el8 rhel-8-for-x86_64-appstream-rpms 41 k
- Installing module profiles:
- container-tools/common
- Transaction Summary
- ===============================================================================================================================
- Install 8 Packages
- Total download size: 7.8 M
- Installed size: 27 M
- Is this ok [y/N]: y
- Downloading Packages:
- (1/8): python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64.rpm 29 kB/s | 19 kB 00:00
- (2/8): python3-pip-9.0.3-19.el8.noarch.rpm 29 kB/s | 20 kB 00:00
- (3/8): yajl-2.1.0-10.el8.x86_64.rpm 53 kB/s | 41 kB 00:00
- (4/8): toolbox-0.0.8-1.module+el8.4.0+11822+6cc1e7d7.noarch.rpm 85 kB/s | 16 kB 00:00
- (5/8): crun-0.20.1-1.module+el8.4.0+11822+6cc1e7d7.x86_64.rpm 342 kB/s | 192 kB 00:00
- (6/8): cockpit-podman-32-2.module+el8.4.0+11990+22932769.noarch.rpm 549 kB/s | 410 kB 00:00
- (7/8): udica-0.2.4-2.module+el8.4.0+11822+6cc1e7d7.noarch.rpm 247 kB/s | 51 kB 00:00
- (8/8): skopeo-1.3.1-5.module+el8.4.0+11990+22932769.x86_64.rpm 2.6 MB/s | 7.0 MB 00:02
- -------------------------------------------------------------------------------------------------------------------------------
- Total 2.1 MB/s | 7.8 MB 00:03
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : python3-pip-9.0.3-19.el8.noarch 1/8
- Installing : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 2/8
- Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 2/8
- Installing : yajl-2.1.0-10.el8.x86_64 3/8
- Installing : crun-0.20.1-1.module+el8.4.0+11822+6cc1e7d7.x86_64 4/8
- Installing : udica-0.2.4-2.module+el8.4.0+11822+6cc1e7d7.noarch 5/8
- Installing : skopeo-1:1.3.1-5.module+el8.4.0+11990+22932769.x86_64 6/8
- Installing : toolbox-0.0.8-1.module+el8.4.0+11822+6cc1e7d7.noarch 7/8
- Installing : cockpit-podman-32-2.module+el8.4.0+11990+22932769.noarch 8/8
- Running scriptlet: cockpit-podman-32-2.module+el8.4.0+11990+22932769.noarch 8/8
- Verifying : yajl-2.1.0-10.el8.x86_64 1/8
- Verifying : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 2/8
- Verifying : python3-pip-9.0.3-19.el8.noarch 3/8
- Verifying : crun-0.20.1-1.module+el8.4.0+11822+6cc1e7d7.x86_64 4/8
- Verifying : cockpit-podman-32-2.module+el8.4.0+11990+22932769.noarch 5/8
- Verifying : toolbox-0.0.8-1.module+el8.4.0+11822+6cc1e7d7.noarch 6/8
- Verifying : skopeo-1:1.3.1-5.module+el8.4.0+11990+22932769.x86_64 7/8
- Verifying : udica-0.2.4-2.module+el8.4.0+11822+6cc1e7d7.noarch 8/8
- Installed products updated.
- Installed:
- cockpit-podman-32-2.module+el8.4.0+11990+22932769.noarch crun-0.20.1-1.module+el8.4.0+11822+6cc1e7d7.x86_64
- python3-pip-9.0.3-19.el8.noarch python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64
- skopeo-1:1.3.1-5.module+el8.4.0+11990+22932769.x86_64 toolbox-0.0.8-1.module+el8.4.0+11822+6cc1e7d7.noarch
- udica-0.2.4-2.module+el8.4.0+11822+6cc1e7d7.noarch yajl-2.1.0-10.el8.x86_64
- Complete!
- [fatherlinux@rhel8 ~]$ podman network ls
- NETWORK ID NAME VERSION PLUGINS
- 6129a34887d3 container-net 0.4.0 bridge,portmap,firewall,tuning,dnsname
- [fatherlinux@rhel8 ~]$ podman pod create --network container-net --network-alias test-pod --hostname test-01 --name test-pod
- 2662f14d2d0df0663eb5321c1d5749af5a4b9cb9ed20aad5656a93dcb1f6d3f4
- [fatherlinux@rhel8 ~]$ podman run --rm -it --pod test-pod --network=container-net --dns-search dns.podman --name test-01 --network-alias test-01 docker.io/alpine /bin/sh
- Trying to pull docker.io/library/alpine:latest...
- Getting image source signatures
- Copying blob a0d0a0d46f8b done
- Copying config 14119a10ab done
- Writing manifest to image destination
- Storing signatures
- / # ping 8.8.8.8
- PING 8.8.8.8 (8.8.8.8): 56 data bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement