Professional Documents
Culture Documents
❖ What is a Package?
A Package is usually referred to an application but it could be a GUI
application,command line tool or software library. A Paackage metadata
contains package version,package description,and dependencies
Tasks: -
❖ You have to install docker and jenkins in your system from your
terminal using package managers.
Install Docker :-
Here below commands are used to install Docker and Manage Docker
1) sudo apt-get remove docker-engine docker.io :- Remove any
Docker files that are running in the system.
❖ check the status of docker service in your system (make sure you
completed above tasks, else docker won't be installed)
systemctl status docker
❖ stop the service jenkins and post before and after screenshots
systemctl status jenkins
Before:-
systemctl stop jenkins
systemctl status jenkins
After:-
❖ systemctl vs service
initd and systemd are both init daemons. Init uses service whereas
systemd uses systemctl to manage linux services.
Both are used to manage services like start,stop,restart,reload the service
and also check the status of the service.
systemctl:-
systemctl start docker.service
systemctl stop docker.service
systemctl reload docker.service
systemctl restart docker.service
systemctl status docker.service
service:-
service docker status