This document provides instructions for deploying and using Fedora Atomic Host, an operating system designed for containers. It includes steps to:
1) Configure Fedora Atomic images using cloud-init files to set usernames, passwords, and hostnames.
2) Upgrade and rollback the Atomic host using rpm-ostree commands.
3) Understand how OSTree manages operating system updates and deployments.
4) Deploy Docker containers on the Atomic host and use Cockpit to manage containers.
With the rapid increase in enterprise adoption of Linux, automation of deployment becomes very important.
In most cases, the configuration of the individual applications and the look and feel also need customization.
Target Audience:
Students
IT Managers
Architects
Academicians
CXOs
System Administrators
With the rapid increase in enterprise adoption of Linux, automation of deployment becomes very important.
In most cases, the configuration of the individual applications and the look and feel also need customization.
Target Audience:
Students
IT Managers
Architects
Academicians
CXOs
System Administrators
ERP System Implementation Kubernetes Cluster with Sticky Sessions Chanaka Lasantha
ERP System Implementation on Kubernetes Cluster with Sticky Sessions:
01. Security Features Enabled in Kubernetes Cluster.
02. SNMP, Syslog and audit logs enabled.
03. Enabled ERP no login service user.
04. Auto-scaling enabled both ESB and Jboss Pods.
05. Reduced power consumption using the scale in future during off-peak days.
06. NFS enables s usual with ERP service user.
07. External Ingress( Load Balance enabled).
08. Cluster load balancer enabled by default.
09. SSH enabled via both putty.exe and Kubernetes management console.
10. Network Monitoring enabled on Kubernetes dashboard.
11. Isolated Private and external network ranges to protect backend servers (pods).
12. OS of the pos is updated with the latest kernel version.
13. Core Linux OS will reduce security threats.
14. Lightweight OS over small HDD space
15. Less amount of RAM usage has been enabled.
16. AWS ready.
17. Possible for exporting into Public cloud ENV.
18. L7 and L4 Heavy Load Balancing Enabled.
19. Snapshot Versioning Control Enabled.
20. Many More ………etc.
Installing and Configuring Domino 10 on CentOS 7Devin Olson
Instructions on how to do a base-level installation of IBM / HCL's Domino 10 (10.0.1) server on a Debial-based (Red Hat, CentOS, etc) Linux Server.
Includes partitioning, network configuration, ssh installation & configuration, group and user creation, minimal packages, firewall configuration, sticky bits, and more.
OSGi provisioning deep dive and demo (Subsystems, Repository, Contracts and m...mfrancis
This presentation takes a closer look at deploying OSGi-based applications using OSGi Subsystems and OSGi Repositories. You will see how you to package multi-bundle applications as a subsystem, deploy them and use repositories to handle dependencies. Additionally the talk explains the need for OSGi Contracts, especially in the context of APIs such as Servlets or other JavaEE APIs. A large part of the presentation is a demo that shows subsystems and repositories in action using open source technology.
Bio:
David Bosschaert works for Adobe Research and Development. He spends the much of his time on technology relating to OSGi in Apache and other open source projects. He is also co-chair of the OSGi Enterprise Expert Group and an active participant in the OSGi Cloud efforts.
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceCloudian
This document will help a new user deploy a 3-node Cloudian storage cluster in your data center for use with the Cloudian HyperStore Hybrid Cloud Service from AWS Marketplace.
ERP System Implementation Kubernetes Cluster with Sticky Sessions Chanaka Lasantha
ERP System Implementation on Kubernetes Cluster with Sticky Sessions:
01. Security Features Enabled in Kubernetes Cluster.
02. SNMP, Syslog and audit logs enabled.
03. Enabled ERP no login service user.
04. Auto-scaling enabled both ESB and Jboss Pods.
05. Reduced power consumption using the scale in future during off-peak days.
06. NFS enables s usual with ERP service user.
07. External Ingress( Load Balance enabled).
08. Cluster load balancer enabled by default.
09. SSH enabled via both putty.exe and Kubernetes management console.
10. Network Monitoring enabled on Kubernetes dashboard.
11. Isolated Private and external network ranges to protect backend servers (pods).
12. OS of the pos is updated with the latest kernel version.
13. Core Linux OS will reduce security threats.
14. Lightweight OS over small HDD space
15. Less amount of RAM usage has been enabled.
16. AWS ready.
17. Possible for exporting into Public cloud ENV.
18. L7 and L4 Heavy Load Balancing Enabled.
19. Snapshot Versioning Control Enabled.
20. Many More ………etc.
Installing and Configuring Domino 10 on CentOS 7Devin Olson
Instructions on how to do a base-level installation of IBM / HCL's Domino 10 (10.0.1) server on a Debial-based (Red Hat, CentOS, etc) Linux Server.
Includes partitioning, network configuration, ssh installation & configuration, group and user creation, minimal packages, firewall configuration, sticky bits, and more.
OSGi provisioning deep dive and demo (Subsystems, Repository, Contracts and m...mfrancis
This presentation takes a closer look at deploying OSGi-based applications using OSGi Subsystems and OSGi Repositories. You will see how you to package multi-bundle applications as a subsystem, deploy them and use repositories to handle dependencies. Additionally the talk explains the need for OSGi Contracts, especially in the context of APIs such as Servlets or other JavaEE APIs. A large part of the presentation is a demo that shows subsystems and repositories in action using open source technology.
Bio:
David Bosschaert works for Adobe Research and Development. He spends the much of his time on technology relating to OSGi in Apache and other open source projects. He is also co-chair of the OSGi Enterprise Expert Group and an active participant in the OSGi Cloud efforts.
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceCloudian
This document will help a new user deploy a 3-node Cloudian storage cluster in your data center for use with the Cloudian HyperStore Hybrid Cloud Service from AWS Marketplace.
Preparation study for Docker Event
Mulodo Open Study Group (MOSG) @Ho chi minh, Vietnam
http://www.meetup.com/Open-Study-Group-Saigon/events/229781420/
Advanced Level Training on Koha / TLS (ToT)Ata Rehman
Advanced Level Training on Koha / Total Library Solution - TLS - (ToT), December 4-8, 2017 – PASTIC, Islamabad
All training material provided during this training can be found at: https://drive.google.com/drive/folders/1hwWGHV1iHgcpjK_tw6-Xgf-ZVUPchIS_
kubernetes install and practice
* Environment (bare metal installation, not using cloud service)
- VM 1 : Mater node, 30GB, 2 vCPU, 4GB Mem
- VM 2 : Worker node, 30GB, 2 vCPU, 4GB Mem
* Practice
- deploying pod, make a deployment and service
- expose service using ingress(nginx-ingress)
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
GridMate - End to end testing is a critical piece to ensure quality and avoid...ThomasParaiso2
End to end testing is a critical piece to ensure quality and avoid regressions. In this session, we share our journey building an E2E testing pipeline for GridMate components (LWC and Aura) using Cypress, JSForce, FakerJS…
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
Fedora Atomic Workshop handout for Fudcon Pune 2015
1. Fedora Atomic Workshop
Hands on Guide
This document is prepared for Desktop/Laptops based on Linux platforms and just
enough to get you started. Explore more !!!
DVD:
Dvd contains the following images
1. Fedora-Cloud-Atomic-22-20150521.x86_64.qcow2: Fedora Atomic Qcow image for Linux distribution
2. Fedora-Cloud_Atomic-x86_64-22.iso: Atomic ISO image for installation on Virtual Machines or on Physical System.
3. Fedora-Cloud-Atomic-Vagrant-22-20150521.x86_64.vagrant-virtualbox.box: Image for Virtual Box (Windows)
4. cockpit.tar.gz: Cockpit docker image
5. Fedora-Docker-Base-22-20150521.x86_64.tar.xz: Fedora Docker image
Environment:
Virtual Machine Manager: KVM
Fedora Atomic image: Fedora 22 Atomic image(Fedora-Cloud-Atomic-22-20150521.x86_64.qcow2)
Activities:
A. Use Cloud-init to configure user name, password and set hostname
B. Upgrade the Fedora Atomic host
C. Understand OSTree and the layout
D. Start a simple docker container on Atomic Host
E. Use cockpit management interface
Setup the Fedora Atomic host
Activity 1: Cloud-init to configure user name, password and set hostname
The image Fedora-Cloud-Atomic-22-20150521.x86_64.qcow2 is available as a fully-configured disk image ready to be used with a Linux
hypervisor. You can customize the image using cloud-init. Once deployed, you cannot re-configure the image again using cloud-init.
Preparation for installation
Configuration options are set with a pair of cloud-init configuration files : metadata and userdata. Metadata is used to configure host
information like instance ID numbers, hostname, IP address, etc. Userdata is used for adding and modifying users, adding packages, calling
configuration management systems, etc. This information is injected into the host the first time it boots.
meta-data
A plain text file which provides information that identifies the instance of Fedora Atomic Host that is being installed. Its contents
should be similar to the following example:
The instance-id can be any identifying name and the local-hostname should be a host name that you wish to be set.
user-data
A plain text file which provides information about users on the system. This information will be used to enable access to the Fedora E
Atomic Host instance. By default, the root user is password-locked; therefore, if you do not create the user-data file, you will not be to
login. You can also set the password for the root user. The default user is fedora
You can also set up password less ssh login using keys by injecting the ssh keys for the fedora user. Generate custom keys using
ssh-keygen -f fatomic_rsa
Generating public/private rsa key pair.
<truncating output>
instance-id: FedoraAtomic0
local-hostname: FedoraAtomic
2. Fedora Atomic Workshop
Hands on Guide
An example of a user-data file is below: We are also re-setting the root password to fatomic
Choose an appropriate password for the users. Also replace the ssh-rsa key with the newly generated one. Print the newly created key using
the command “cat fatomic_rsa.pub”. Note the first line #cloud-config is mandatory
Next step is to create an iso image using these two files. This iso image will be provided during the boot process of the image. Below
command will create atomic0-cidata.iso in the current directory
Starting the Fedora Atomic Host for the first time
Copy the image Fedora-Cloud-Atomic-22-20150521.x86_64.qcow2 from DVD to your desktop or laptop
1. Open a terminal and execute the command virt-manager as the root user.
2. Hit the icon for “Creating a new virtual machine”
3. In the new Window, enter the following details
Name: FedoraAtomicHost
Select “Import Existing disk image”
Hit next
4. In the new window, hit the browse button and point to the location of the image Fedora-Cloud-Base-22-20150521.x86_64.qcow2. Select
the OS type as Linux and version as Fedora . Click the forward button
5. Allocate a minimum of 1024 MB RAM and 1 cpus. Hit forward. Select the option “Customize Configuration Before Install” and hit finish
6. Add a hardware -> storage->cdrom and point the iso image to the newly created atomic0-cidata.iso
7.Click finish.
8. Hit apply and click on the Begin installation option, VM will be spawned and you will notice the login screen in the VM console
Login to the Fedora Atomic Host
username: root
password: fatomic #If you have provided a different password in the user-data file, then use that
Note: Hostname is set to the name that you entered in the meta-data file. You can also login to the host via ssh using the keys
Activity 2: Upgrade the Fedora Atomic host [Needs internet access]
Fedora Atomic features a new update system for operating systems called rpm-ostree. In the default model, the RPMs are composed on a
server into an OSTree repository, and client systems can replicate in an image-like fashion, including incremental updates.
Unlike traditional operating system update mechanisms, it will automatically keep the previous version of the OS, always available for
rollback. Upgrade the atomic host using the command atomic host upgrade. After upgrade,reboot the host using systemctl reboot
-bash-4.2# atomic host upgrade
Updating from: fedora-atomic:fedora-atomic/f22/x86_64/docker-host
ostadmin: Creating deployment /ostree/deploy/fedora-atomic-
controller/deploy/6b6b1362241f1c658b54797b51c2215e32b0978f2201eeb7cd2068276adb9015.2
ostadmin: Processing /etc: 1 modified, 0 removed, 6 added
Transaction complete; bootconfig swap: yes deployment count change: 0)
Updates prepared for next boot; run "systemctl reboot" to start a reboot
#cloud-config
ssh_pwauth: True
ssh_authorized_keys:
- ssh-rsa new publickey here user@host #REPLACE this line starting from ssh-rsa with the key that is found in atomic_rsa.pub
chpasswd:
list: |
root:fatomic
fedora:fatomic
expire: False
# genisoimage -output atomic0-cidata.iso -volid cidata -joliet -rock user-data meta-data
3. Fedora Atomic Workshop
Hands on Guide
“atomic host upgrade”, checks the repository URL specified in /ostree/repo/config to check for an updated version.
If a new version is found, it will first be downloaded, then deployed. At that point, a three-way merge of configuration is performed, using the
new /etc as a base, and applying your changes on top. You can also use rpm-ostree upgrade
RollBack:
To rollback to the previous version, execute the command atomic host rollback / rpm-ostree rollback
The atomic host should be rebooted after the rollback using systemctl reboot
Activity 3: Understand OSTree and the layout
OSTree is considered as the git for operating system binaries. After upgrading the atomic host, you will have two versions of docker on the
atomic host. Execute the below command to check the version of the kernel
Downgrade the atomic host using, rpm-ostree rollback(reboot the host) and then check for the version of kernel
Notice the difference in version. You can switch between the updates without overwriting the old version.
OSTree only preserves /var across upgrades. Since only /var is preserved, /root is bind mounted as /var/roothome. Similarly /home is bind
mounted as /var/home and /tmp to /sysroot/tmp (Just few examples top level writable directories)
When the rpm-ostree upgrade/atomic host upgrade command is executed, it checks the OSTree repository. If any updates are available,
then it will replicate the contents and creates a new root for the next reboot. Any changes made to /etc between upgrades are propagated
forwards and all local state in /var/ is shared.
Observe or check the output of the command ostree admin status/atomic host status on the atomic host system.
The * in the output tell us which deployment will be chosen as the default
Touch a file " touch /etc/sysconfig/touch". After creating the file execute the command "ostree admin config-diff" . It will list of configuration
files that were modified since the initial deployment.
A denotes a file was added to /etc while M denotes the file was modified
--bash-4.3# rpm-ostree rollback
Moving '06a63ecfcf053d1625e9ddf406429eef3c7fe3ecccbe636a54b90175a5899e7d.0' to be first deployment
Transaction complete; bootconfig swap: yes deployment count change: 0
Sucessfully reset deployment order; run "systemctl reboot" to start a reboot
-bash-4.2# rpm -q kernel
kernel-4.0.4-303.fc22.x86_64
-bash-4.2# rpm -q kernel
kernel-4.0.4-301.fc22.x86_64
-bash-4.3# atomic host status
TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC
2015-05-21 19:01:46 22.17 06a63ecfcf fedora-atomic fedora-atomic:fedora-atomic/f22/x86_64/docker-host
* 2015-06-17 19:33:30 22.40 1fa7919b3d fedora-atomic fedora-atomic:fedora-atomic/f22/x86_64/docker-host
-bash-4.3# ostree admin config-diff
M adjtime
M nsswitch.conf
M shadow
M localtime
A sysconfig/network
A sysconfig/touch
4. Fedora Atomic Workshop
Hands on Guide
/boot
When a upgrade is installed, it places a file like /boot/loader/entries/ostree-osname-checksum.conf in /boot directory.
Lets check the contents of one of the file
In the above output, observe the parameter called ostree. This ostree helps the initrd to find the specified deployment and chroot into it.
Activity 4: Deploying/Starting a simple container on Fedora Atomic Host
If the desktop/laptop has internet, then the following command can be executed on the atomic host to pull the Fedora 22 docker image-like
If not then copy Fedora-Docker-Base-22-20150521.x86_64.tar.xz from DVD to Atomic Host and then manually load the container image-like
After loading the image, execute docker image to list all the available images on the host
Using base Fedora 22 container image, start a simple container on the atomic host for the bash application. Enter “exit” to exit from the
container
Activity 5: Deploying Container manager service: Cockpit
Cockpit is under rapid development and not production ready. Cockpit runs inside a privileged container and is able to monitor and
administer several servers at the same time. Each server only needs ```cockpit-bridge``` and ```cockpit-shell```, which are part of Fedora
Atomic 22, in order to get connected to Cockpit. You can manage all other containers running in the host.
If the desktop/laptop has internet, then the following command can be executed on the atomic host
If not, the copy the cockpit.tar.gz from DVD to laptop and then to atomic host VM. Import the docker cockpit image and then install it
Find the ip address of the Atomic using the command ifconfig ens3 [replace ens3 with the appropriate interface name]
# atomic run cockpit/ws
--bash-4.3# ls /boot/loader/entries/
ostree-fedora-atomic-0.conf ostree-fedora-atomic-1.conf
initrd /ostree/fedora-atomic-95140f890a8d43bc1fa43e52d2a0348009d913d28e88bb1619cc0646bd6a7ede/initramfs-4.0.4-
303.fc22.x86_64.img
options rd.lvm.lv=fedora_dhcp200-186/swap rd.lvm.lv=fedora_dhcp200-186/root quiet rhgb root=/dev/mapper/fedora_dhcp200--186-root
ostree=/ostree/boot.0/fedora-atomic/95140f890a8d43bc1fa43e52d2a0348009d913d28e88bb1619cc0646bd6a7ede/0
title Fedora 22 (Twenty Two) 22.40 (ostree)
linux /ostree/fedora-atomic-95140f890a8d43bc1fa43e52d2a0348009d913d28e88bb1619cc0646bd6a7ede/vmlinuz-4.0.4-303.fc22.x86_64
version 1
# docker load -i cockpit.tar.gz
# atomic run <image-id> #Find the image id of cockpit using the command docker images. It should be 0c45b9010fba
/usr/bin/docker run -d --privileged --pid=host -v /:/host 0c45b9010fba /container/atomic-run --local-ssh
74d7b5d7bc77afa0ad216bb55bf79ec527334ad9aa0858e30d00b85071ab95ab
# docker pull fedora
# docker load -i Fedora-Docker-Base-22-20150521.x86_64.tar.xz
# docker run -it --rm Fedora-Docker-Base-22-20150521.x86_64 bash
# docker images
5. Fedora Atomic Workshop
Hands on Guide
Start a firefox browser on the desktop/laptop system and type the following htp://<ipaddress>:9090 and then press enter. Cockpit by default
uses a self signed certificate. In the browser, select the option “I understand the risks” , followed by “Add Exception button”. When you hit
add exception button, it will create a new popup window. Select the button “confirm security exception”.
At the cockpit login screen, enter the following credentials
username:root
password: fatomic #if you had provided a different root password,then use the correct one
After logging in, Perform the following steps
Hit “Containers” option after logging in(Left corner). It will list all the available docker images on the host. Docker images are listed on the left
side. Also you can see the list of containers that are running on the system
Let's start a container from the VM console. From the atomic host console, start a simple container
T
Allow the container to run. Don't enter exit.
Go back to the cockpit console. You will notice a container with the name firstcontainer is running. Click on the firstcontainer. You will notice
the console of the container in the browser.
Console of the container
# docker run -it --name=firstcontainer Fedora-Docker-Base-22-20150521.x86_64 bash
Bash-4.2#
6. Fedora Atomic Workshop
Hands on Guide
Using cockpit, you can start, stop, restart and delete container as well
To stop the container, click the “stop” button . You will see the “firstcontainer” as stopped. If you go back to the vmconsole, you notice that the
firstcontainer has been stopped. You can start firstcontainer again by hitting the “play” button on the cockpit console.
Using the existing images, you can start a container from the console cockpit itself. Also you can download new container images from the
cockpit console itself.
To start a container from console cockpit, you need to select the container image and then hit the play button. While starting a container from
the console cockpit, you can choose whether to attach a terminal, whether to assign any ports or provide any specific ports, set any memory
limits etc.
7. Fedora Atomic Workshop
Hands on Guide
Miscellaneous
Possible issues:
1. While starting the atomic host and if you notice “no bootable device found” message, then make sure the storage format
of the imported image for the vm in the virt-manager is set as qcow2
2. If the atomic host does not receive any IP address, then make sure the default NAT interface is enabled(virbr0) or verify
whether the NIC of the Atomic host system is configured to use the default NAT interface
3. If you notice Atomic host getting hung, then check whether the underlying disk where the VM image of the atomic host is
hosted has enough free space
4. If you are not able to login in to the atomic host, use the below file user-data as such
Meetup group:
If you are interested to know more about Docker/Containers and want to stay in touch, then join Docker Pune meetup group
http://www.meetup.com/Docker-Pune
References
Project Atomic: http://www.projectatomic.io
OSTree: https://wiki.gnome.org/Projects/OSTree
Images: https://getfedora.org/cloud/download/atomic.html
Hands on Guide Prepared by Document reviewers:
Ranjith Rajaram Leo Thomas
twitter: @ranjithrajaram tleothomas@gmail.com
Email: ranjith@redhat.com
#cloud-config
chpasswd:
list: |
root:fatomic
fedora:fatomic
expire: False