All,
Today, a documentation restructure went live on Clearlinux.org (https://clearlinux.org/documentation/clear-linux/clear-linux.html).
This change improves navigation throughout our docs and make contributing to CL docs easier. Content is now categorized into five sections: Get Started, Concepts, Guides, Tutorials, and Reference. Descriptions on the sections are as follows:
Get Started: Information about installing Clear Linux.
Concepts: Detailed technical information about features.
Guides: Step-by-step instructions to complete common tasks.
Tutorials: Step-by-step instructions to complete the installation and configuration of tools needed for a specific use case.
Reference: Information providing additional context or details.
With this restructure comes URL changes to many existing documents. To ensure continued access, redirects have been applied to all affected URLs and will remain until further notice.
Cheers,
Ianeta
Because the postgres user has a default shell of /usr/bin/nologin, the
install ExecStart command will fail. Simply pass a shell of /bin/bash
to allow execution.
---
postgresql-install.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/postgresql-install.service b/postgresql-install.service
index 7ac262c..e6b2150 100644
--- a/postgresql-install.service
+++ b/postgresql-install.service
@@ -13,4 +13,4 @@ ExecStartPre=/usr/bin/install -d -m 0700 -opostgres -gpostgres /var/lib/pgsql/da
# running is suboptimal, we default to rejecting all connections until the
# user explicitly sets this up
#
-ExecStart=/usr/bin/su postgres -c "/usr/bin/initdb -D /var/lib/pgsql/data --auth=reject"
+ExecStart=/usr/bin/su postgres -s /bin/bash -c "/usr/bin/initdb -D /var/lib/pgsql/data --auth=reject"
--
2.14.1
Hi Jovi,
Please see:
https://github.com/01org/cc-oci-runtime/wiki/Clear-Containers-and-Kubernetes
Also, note that there is a separate mailing list for questions about Clear
Containers:
https://lists.01.org/mailman/listinfo/cc-devel
Kind regards,
James.
2017-08-21 9:12 GMT+01:00 Jovi Zhangwei <jovi.zhangwei(a)gmail.com>:
> Does cc-oci-runtime support Kubernetes right now? I found cc-oci-runtime
> still don't support Pod yet, maybe I was wrong.
>
> On Fri, Aug 18, 2017 at 11:31 PM, Munoz, Obed N <obed.n.munoz(a)intel.com>
> wrote:
>
> > Hi Jovi,
> >
> > Have you tried it with Kubernetes instead of swarm?
> > Its networking abstraction could also be useful for this isolation you’re
> > looking for. Also, its PODs approach helps on apps/systems isolation (
> > https://kubernetes.io/docs/concepts/workloads/pods/pod/)
> >
> > Regards,
> > --
> > Obed N Munoz
> > Cloud Engineer @ ClearLinux Project
> > Open Source Technology Center
> >
> > On 8/18/17, 1:33 AM, "Dev on behalf of Jovi Zhangwei" <
> > dev-bounces(a)lists.clearlinux.org on behalf of jovi.zhangwei(a)gmail.com>
> > wrote:
> >
> > Thanks Arian. After some deep thought, I agree with you, upper layer
> > should
> > handle the multi-tenant management.
> >
> > I'm investigating use docker swarm as the orchestration layer to
> > provider a
> > full multi-tenant env, based on Clear Container. The full scenario is
> > like
> > below,
> >
> > 1. Building a docker swarm cluster upon several physical machines.
> > 2. Tenant A use "docker service create" to create a container
> Ca(Clear
> > Container Instance) in one machine.
> > 3. Tenant B use "docker service create" to create a container
> Cb(Clear
> > Container Instance) in one machine.
> >
> > What I'm trying to do is make Ca(Tenant A's container) completely
> > isolated
> > with Cb(Tenant B's container), in one cluster, all managed by docker
> > swarm.
> >
> > I'm not quite sure this solution is feasible, so I'm seeking help
> from
> > expert in Clear Container community now. :)
> >
> > Great thanks.
> >
> >
> >
> > On Tue, Aug 15, 2017 at 10:20 PM, Arjan van de Ven <
> > arjan(a)linux.intel.com>
> > wrote:
> >
> > > On 8/14/2017 7:03 PM, Jovi Zhangwei wrote:
> > >
> > >> So maybe what I'm looking for is an end to end isolation solution
> > to use
> > >> clear container in multi-tenant environment, includes the
> isolation
> > of
> > >> network, storage, image and process. :)
> > >>
> > >
> > > normally a higher up layer (IAAS/orchestration) provides most of
> the
> > > isolation elements
> > > you want; for example the CIAO project quite a few people in our
> > team work
> > > on provides
> > > such a lightweight IAAS layer.
> > >
> > >
> > _______________________________________________
> > Dev mailing list
> > Dev(a)lists.clearlinux.org
> > https://lists.clearlinux.org/mailman/listinfo/dev
> >
> >
> >
> _______________________________________________
> Dev mailing list
> Dev(a)lists.clearlinux.org
> https://lists.clearlinux.org/mailman/listinfo/dev
>
--
James
-----
https://clearlinux.org
Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3
1RJ.
Hi Jovi,
Have you tried it with Kubernetes instead of swarm?
Its networking abstraction could also be useful for this isolation you’re looking for. Also, its PODs approach helps on apps/systems isolation (https://kubernetes.io/docs/concepts/workloads/pods/pod/)
Regards,
--
Obed N Munoz
Cloud Engineer @ ClearLinux Project
Open Source Technology Center
On 8/18/17, 1:33 AM, "Dev on behalf of Jovi Zhangwei" <dev-bounces(a)lists.clearlinux.org on behalf of jovi.zhangwei(a)gmail.com> wrote:
Thanks Arian. After some deep thought, I agree with you, upper layer should
handle the multi-tenant management.
I'm investigating use docker swarm as the orchestration layer to provider a
full multi-tenant env, based on Clear Container. The full scenario is like
below,
1. Building a docker swarm cluster upon several physical machines.
2. Tenant A use "docker service create" to create a container Ca(Clear
Container Instance) in one machine.
3. Tenant B use "docker service create" to create a container Cb(Clear
Container Instance) in one machine.
What I'm trying to do is make Ca(Tenant A's container) completely isolated
with Cb(Tenant B's container), in one cluster, all managed by docker swarm.
I'm not quite sure this solution is feasible, so I'm seeking help from
expert in Clear Container community now. :)
Great thanks.
On Tue, Aug 15, 2017 at 10:20 PM, Arjan van de Ven <arjan(a)linux.intel.com>
wrote:
> On 8/14/2017 7:03 PM, Jovi Zhangwei wrote:
>
>> So maybe what I'm looking for is an end to end isolation solution to use
>> clear container in multi-tenant environment, includes the isolation of
>> network, storage, image and process. :)
>>
>
> normally a higher up layer (IAAS/orchestration) provides most of the
> isolation elements
> you want; for example the CIAO project quite a few people in our team work
> on provides
> such a lightweight IAAS layer.
>
>
_______________________________________________
Dev mailing list
Dev(a)lists.clearlinux.orghttps://lists.clearlinux.org/mailman/listinfo/dev
On 8/14/2017 7:03 PM, Jovi Zhangwei wrote:
> So maybe what I'm looking for is an end to end isolation solution to use
> clear container in multi-tenant environment, includes the isolation of
> network, storage, image and process. :)
normally a higher up layer (IAAS/orchestration) provides most of the isolation elements
you want; for example the CIAO project quite a few people in our team work on provides
such a lightweight IAAS layer.
* lshw is a small tool to provide detailed information on the
hardware configuration of the machine.
* GNU Stow is a symlink farm manager useful for keeping track
of system-wide and per-user installations of software built from source.
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana(a)intel.com>
---
bundles/sysadmin-basic | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bundles/sysadmin-basic b/bundles/sysadmin-basic
index b43a021..2fea12f 100644
--- a/bundles/sysadmin-basic
+++ b/bundles/sysadmin-basic
@@ -42,6 +42,7 @@ glibc-bin
libcap-bin
linux-dev
lsacpi
+lshw
lsof
man-db
man-pages
@@ -67,6 +68,7 @@ shadow-doc
shadow-locale
sharutils
socat
+stow
strace
sudo
systemd
--
2.14.1
In order to enable building and running programs using QT add a bundle
with the QT runtime and development files. This includes c-basic as
the default way to build QT programs.
---
bundles/qt-basic | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 bundles/qt-basic
diff --git a/bundles/qt-basic b/bundles/qt-basic
new file mode 100644
index 0000000..9cc56ad
--- /dev/null
+++ b/bundles/qt-basic
@@ -0,0 +1,8 @@
+# [TITLE]: qt-basic
+# [DESCRIPTION]: Build and run programs that use the QT runtime
+# [STATUS]: WIP
+# [CAPABILITIES]:
+# [MAINTAINER]: William Douglas <william.douglas(a)intel.com>
+include(c-basic)
+qt-everywhere-opensource-src
+qt-everywhere-opensource-src-dev
--
2.14.1