mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 09:44:59 +01:00
which is now available as 'docker' in PyPI and as a `python{2,3}-docker`
in Fedora.
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Closes: #902
Approved by: rhatdan
1.3 KiB
1.3 KiB
#INSTALL atomic can be installed through below methods
##Yum / DNF
The Atomic RPM is packaged within Fedora 21 or later.
yum install atomic
# or
dnf install atomic
##Make On Fedora, You need to install required build dependencies
yum-builddep atomic
yum install -y python-requests libselinux-python python3-docker \
python-dateutil python-yaml pylint python-slip-dbus python-gobject
# or
dnf builddep atomic
dnf install -y python-requests libselinux-python python3-docker \
python-dateutil python-yaml pylint python-slip-dbus python-gobject
Optionally, to use the builddep plugin in DNF you need to install dnf-plugins-core
dnf install dnf-plugins-core
Get the code
git clone https://github.com/projectatomic/atomic
cd atomic
Build and install
make all
make install
Your install will now be complete!
▶ atomic --version
1.8
##Test
To test the checked out tree, install dependencies
dnf install -y python3-pylint /usr/bin/coverage2
Start the docker daemon
systemctl start docker
Run the tests
make test
##Notes
Warning: Atomic no longer packages the CLI as an egg and thus upgrading from atomic 1.5 to 1.8 requires removing conflicting folders.
rm -rf /usr/lib/python2.7/site-packages/Atomic/ /usr/lib/python2.7/site-packages/atomic-*