This repository holds all the Dockerfiles for Clear Linux based containers.
The base image can be found in Docker's base repository or at https://github.com/clearlinux/docker-brew-clearlinux/ (which also has previous image releases under branches).
Clear Linux-based Docker containers
This repository holds all the Dockerfiles for Clear Linux based containers.
The base image can be found in Docker's base repository or at https://github.com/clearlinux/docker-brew-clearlinux/ (which also has previous image releases under branches).
Dockerfile:
FROM clearlinux:latest
RUN swupd bundle-add scm-server
RUN git clone https://github.com/AntonioMeireles/ClearLinux-packer
Build ouput:
Sending build context to Docker daemon 50.28MB
Step 1/3 : FROM clearlinux:latest
---> cfe5f13b90b0
Step 2/3 : RUN swupd bundle-add scm-server
---> Running in e18dfed8e07d
swupd-client bundle adder 3.15.0
Copyright (C) 2012-2018 Intel Corporation
Downloading packs...
Extracting scm-server pack for version 21080
..
Installing bundle(s) files...
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Calling post-update helper scripts.
Bundle(s) installation done.
Removing intermediate container e18dfed8e07d
---> 24d4e9a616c3
Step 3/3 : RUN git clone https://github.com/AntonioMeireles/ClearLinux-packer
---> Running in 8f6e18eeb80b
Cloning into 'ClearLinux-packer'...
fatal: unable to access 'https://github.com/AntonioMeireles/ClearLinux-packer/': SSL certificate problem: unable to get local issuer certificate
The command '/bin/sh -c git clone https://github.com/AntonioMeireles/ClearLinux-packer' returned a non-zero code: 128
Now most of the dockerfile combines the "swupd update" and "swupd bundle-add" together. This makes the "swupd update" layer couldn't be shared over all the clear container images. Move this common "swupd update" a single RUN, then all the clear container images which are updated at same time can share this layer.
The link "Deep Learning tutorial" under subsection "Working with the deep learning..." does not point to the expected tutorial.
I built the clr-sdk
on my machine. When I go ahead and start the container, I get the following error(s):
sudo: Account or password is expired, reset your password and try again
sudo: unable to change expired password: Authentication token manipulation error
They seem to stem from the last line in setup.py
. If I use su clr
instead, everything works fine.
This could perhaps be related to the fact that we're not setting up the user's password anywhere in setup.py
?
ciao-deploy container is installing roles from ansible galaxy.
Those roles are no longer needed with the migration of the ciao deployment scripts from clear-configmanagement to ciao repository.
How often does the docker image get rebuilt? I'm looking to get the latest mixer version. Do I need to build clr-sdk container locally for this or can someone push an updated container to dockerhub?
Dockerfile
FROM clearlinux:latest
RUN swupd update
RUN swupd bundle-add scm-server
Output:
Sending build context to Docker daemon 50.28MB
Step 1/3 : FROM clearlinux:latest
---> cfe5f13b90b0
Step 2/3 : RUN swupd update
---> Running in bfd9d6caff8a
swupd-client software update 3.15.0
Copyright (C) 2012-2018 Intel Corporation
Update started.
Attempting to download version string to memory
Preparing to update from 21150 to 21520
Downloading packs...
.
Statistics for going from version 21150 to version 21520:
changed bundles : 2
new bundles : 0
deleted bundles : 0
changed files : 38
new files : 73
deleted files : 0
Starting download of remaining update content. This may take a while...
File /usr/bin/clr_power was not in a pack
...........Finishing download of update content...
..
Staging file content
Applying update
.............
Update was applied.
Calling post-update helper scripts.
Update took 5.0 seconds
Update successful. System updated from version 21150 to version 21520
103 files were not in a pack
swupd-client software update 3.15.2
Copyright (C) 2012-2018 Intel Corporation
Update started.
Attempting to download version string to memory
Preparing to update from 21530 to 25760
Downloading packs...
.
Statistics for going from version 21530 to version 25760:
changed bundles : 2
new bundles : 0
deleted bundles : 0
changed files : 2402
new files : 1846
deleted files : 101
Starting download of remaining update content. This may take a while...
File /usr/bin/addpart was not in a pack
............................................................................................................................................................................................................
Finishing download of update content...
Staging file content
Applying update
..........................................................................................................................................................................................................................................................................................
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:684
Out of memory[ERROR] cbm (../src/bootman/kernel.c:L258): Error opening ///usr/lib/kernel: No such file or directory
[ERROR] cbm (../src/bootman/update.c:L255): No kernels discovered in ///usr/lib/kernel, bailing
Update took 20.1 seconds
Update successful. System updated from version 21530 to version 25760
1883 files were not in a pack
Update started.
Preparing to update from 25770 to 27200
Downloading packs...
.
Statistics for going from version 25770 to version 27200:
changed bundles : 2
new bundles : 0
deleted bundles : 0
changed files : 3426
new files : 531
deleted files : 67
Starting download of remaining update content. This may take a while...
....................................................................................................................................................Finishing download of update content...
Staging file content
Applying update
.................................................................................................................................................................
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:684
Out of memoryUpdate took 17.0 seconds
1345 files were not in a pack
Update successful. System updated from version 25770 to version 27200
Update started.
Preparing to update from 27210 to 28260
Downloading packs...
Extracting os-core-webproxy pack for version 28230
.
Extracting libglib pack for version 28220
Extracting libstdcpp pack for version 28260
Extracting p11-kit pack for version 28240
Extracting os-core pack for version 28260
Extracting os-core-update pack for version 28240
Statistics for going from version 27210 to version 28260:
changed bundles : 2
new bundles : 5
deleted bundles : 0
changed files : 1142
new files : 3069
deleted files : 454
Starting download of remaining update content. This may take a while...
.....................................................................................................................................................................................
Finishing download of update content...
Staging file content
Applying update
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:684
Out of memoryUpdate took 8.1 seconds
Update successful. System updated from version 27210 to version 28260
Removing intermediate container bfd9d6caff8a
---> 5b23fee4a7d6
Step 3/3 : RUN swupd bundle-add scm-server
---> Running in 766e45bf66a1
standard_init_linux.go:207: exec user process caused "no such file or directory"
The command '/bin/sh -c swupd bundle-add scm-server' returned a non-zero code: 1
https://github.com/docker-library/official-images/
This should be mentioned in the README to help developers more quickly generate a derived image.
Build status within Readme.md still link to Travis-CI. Could you add link to right build status?
There is a performance issue for TF from intel channel in anaconda for stacks/dlrs-mkl
How to set side-by-side-diffs=1
in cgitrc
?Or, can you set it as the default config in the next released Docker image to https://hub.docker.com/r/clearlinux/cgit
?
Currently not all the commands in docker-entrypoint.sh are executed with "exec".
For example, in redis, "echo "redis -s /bin/bash -c "$0 $@"" | xargs su".
In this way, it will not receive a SIGTERM upon docker stop and will not get a chance to shutdown cleanly. In some cases, this can lead to data loss or zombie processes.
Please update to the latest released OpenVINO toolkit. The clearlinux/stacks-dlrs-mkl:v0.4.0 is using the old version 2019_R1.1
Thanks for providing this useful container.
I have a question about two cassandra configs: enable_materialized_views
and enable_transient_replication.
It seems the official document says "Materialized views are considered experimental and are not recommended for production use." And the default value for these two parameters are False in the document. They say they will disable them in Cassandra 4.
However, in the latest version of Cassandra (3.11.4), the default value for them are still True, as is the setting in your container's cassandra.yaml.
Shall we disable them manually for now?
Thanks!
@sophia0328, can you follow what was done for the golang image and reference the upstream haproxy README?
Change dlaas => to dlrs once the dlrs images are available in dockerhub.
swupd search
command throws the following error with the Pytorch-MKL docker image:
$ sudo docker run -it --rm clearlinux/stacks-pytorch-mkl
root@b808dffb8213 /workspace # swupd info
Installed version: 29800
Version URL: https://cdn.download.clearlinux.org/update
Content URL: https://cdn.download.clearlinux.org/update
root@b808dffb8213 /workspace # swupd search ffmpeg
Error: Binary /usr/bin/swupd-search doesn't exist in your system
ciao deploy requires -v /dev:/dev option and to be run as privileged
Those are documented in https://clearlinux.org/documentation/ciao-deploy.html
but not in this repos readme.
Using the latest image of ciao-deploy container, it returns this error while installing
TASK [ciao-controller : Create configuration file] *****************************
fatal: [controller.example.com]: FAILED! => {"changed": false, "failed": true, "msg": "RepresenterError: cannot represent an object: 192.168.10.0/24"}
to retry, use: --limit @/root/ciao/_DeploymentAndDistroPackaging/ansible/ciao.retry
PLAY RECAP *********************************************************************
controller.example.com : ok=58 changed=2 unreachable=0 failed=1
according to Murillo Silva, Alberto the fix is already in the code, but seems like the container image miss it.
Why there is only one tag for openjdk image (latest)?
It would be good if we had images for dedicated versions of Java...
As comparing the docker image size, between clearlinux/openjdk and openjdk, the size of clearlinux/openjdk is much higher.
$sudo docker images |grep openjdk
clearlinux/openjdk latest 5b42c028be45 2 weeks ago 757MB
openjdk latest ef36deb98f03 5 weeks ago 470MB
As analyzed the layer information, the layer size for openjdk function in openjdk container is about 351MB, while the size for java-runtime bundle in clearlinux/openjdk is about 607MB, which should be the main contributor.
We need to reduce the size of bundle java-runtime.
I've had quite a few errors like this, and every time it was because i tried to run x86 containers on my rpi, which is again the case right now.
Are there any arm containers, or must i compile the container myself, or would that also not work?
This issue is limited to clearlinux containers running on containerd environments. This is a serious blocker.
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: clear-deployment
namespace: openfaas-fn
spec:
replicas: 1
template:
metadata:
labels:
app: clear
spec:
containers:
- name: clear
image: clearlinux/python:3.7
command: ["python"]
args: ["-m","http.server"]
imagePullPolicy: Always
ports:
- containerPort: 8000
kubectl -n openfaas-fn describe pod -l app=clear
Name: clear-deployment-76b4868b98-mgvtj
Namespace: openfaas-fn
Priority: 2000001000
PriorityClassName: system-node-critical
Node: fargate-ip-192-168-99-171.ec2.internal/192.168.99.171
Start Time: Mon, 17 Feb 2020 01:34:45 +0000
Labels: app=clear
eks.amazonaws.com/fargate-profile=fargate-openfaas-fn
pod-template-hash=76b4868b98
Annotations: kubernetes.io/psp: eks.privileged
Status: Pending
IP: 192.168.99.171
Controlled By: ReplicaSet/clear-deployment-76b4868b98
Containers:
clear:
Container ID:
Image: clearlinux/python:3.7
Image ID:
Port: 8000/TCP
Host Port: 0/TCP
Command:
python
Args:
-m
http.server
State: Waiting
Reason: ImagePullBackOff
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-c6v5b (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
default-token-c6v5b:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-c6v5b
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> fargate-scheduler Successfully assigned openfaas-fn/clear-deployment-76b4868b98-mgvtj to fargate-ip-192-168-99-171.ec2.internal
Warning Failed 75s kubelet, fargate-ip-192-168-99-171.ec2.internal Failed to pull image "clearlinux/python:3.7": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/clearlinux/python:3.7": unpack: failed to extract layer sha256:baa90903a66df167bb3f28a20e040afe5c7cde54de5824ccf74032270d200778: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount493119581: chmod /var/lib/containerd/tmpmounts/containerd-mount493119581/usr/bin/b2sum: no such file or directory: unknown
Warning Failed 59s kubelet, fargate-ip-192-168-99-171.ec2.internal Failed to pull image "clearlinux/python:3.7": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/clearlinux/python:3.7": unpack: failed to extract layer sha256:baa90903a66df167bb3f28a20e040afe5c7cde54de5824ccf74032270d200778: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount084365975: chmod /var/lib/containerd/tmpmounts/containerd-mount084365975/usr/bin/b2sum: no such file or directory: unknown
Normal Pulling 29s (x3 over 77s) kubelet, fargate-ip-192-168-99-171.ec2.internal Pulling image "clearlinux/python:3.7"
Warning Failed 29s (x3 over 75s) kubelet, fargate-ip-192-168-99-171.ec2.internal Error: ErrImagePull
Warning Failed 29s kubelet, fargate-ip-192-168-99-171.ec2.internal Failed to pull image "clearlinux/python:3.7": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/clearlinux/python:3.7": unpack: failed to extract layer sha256:baa90903a66df167bb3f28a20e040afe5c7cde54de5824ccf74032270d200778: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount214157025: chmod /var/lib/containerd/tmpmounts/containerd-mount214157025/usr/bin/b2sum: no such file or directory: unknown
Normal BackOff 4s (x4 over 74s) kubelet, fargate-ip-192-168-99-171.ec2.internal Back-off pulling image "clearlinux/python:3.7"
Warning Failed 4s (x4 over 74s) kubelet, fargate-ip-192-168-99-171.ec2.internal Error: ImagePullBackOff
Hi,
I'm a security researcher. Thank you for providing this useful clearlinux/wordpress
docker image!
After I set it up, I found your docker has the configuration files .htaccess
exposed to end-users.
It's recommended to restrict access to .htaccess files here.
As they may expose sensitive configuration information to attackers, would it be better to block them from public access?
Thanks!
Best,
-ct
I am creating a project through docker-compose
version: '3'
services:
web:
container_name: web
image: clearlinux/nginx
working_dir: /var/www/html
volumes:
- app:/var/www/html
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
ports:
- ${APP_EX_PORT}:80
links:
- php
environment:
APP_HOST: ${APP_HOST}
networks:
- app
php:
container_name: php
build: ./docker/php
working_dir: /var/www/html
volumes:
- app:/var/www/html
- ./docker/php/custom.ini:/etc/php.d/custom.ini
links:
- db
networks:
- app
db:
container_name: db
image: clearlinux/mariadb
volumes:
- dbdata:/var/lib/mysql
ports:
- ${DB_EX_PORT}:3306
environment:
MYSQL_DATABASE: ${DB_DATABASE}
MYSQL_USER: ${DB_USERNAME}
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PWD}
networks:
- app
volumes:
app:
driver: local
driver_opts:
type: none
device: "${PWD}"
o: bind
dbdata:
driver: local
driver_opts:
type: none
device: "${PWD}/${DB_PATH}"
o: bind
networks:
app:
driver: bridge
FROM clearlinux/php-fpm
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
WORKDIR /var/www/html
root@64d6533263ed/var/www/html # mysql -hHOST -uUSER -pPWD
mysql: command not found
To install mysql use: swupd bundle-add mariadb
In order to connect to the database server from the php container, I need to install the bundle mariadb, but I do not need a server in a php container, I only need a client.
For example, on alpine, I could do it like this
FROM php:7.2-fpm-alpine
RUN apk update && apk add \
mysql-client
Hello everyone.
Recent days I deployed clearlinux/MariaDB container on kubernetes and I found the file my.cnf doesn't work. So I had to add args field to my deployment yaml file. I just suspected my.cnf is not read by MariaDB.
Thanks!
The nginx container based on Clear Linux is not sending logs to /dev/stdout as expected (so that they are passed to the docker logging mechanism).
This can be noticed by running the clearlinux/nginx container and noting only error logs appear. An error ([alert] 8#8: connect() failed (2: No such file or directory)
is logged when nginx tries to log anything to access_log.
This appears to be because the nginx.conf
file copied from /usr/share/nginx/conf
is setup to point access_log to systemd/journal which doesn't exist in a container enviornment.
See the line in the nginx.conf file below:
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
aio on;
tcp_nopush on;
directio 8m;
access_log syslog:server=unix:/dev/log;
include /etc/nginx/conf.d/*.conf;
}
This can be fixed by:
modifying the nginx.conf
with sed in the Dockerfile.
adding a access_log /var/log/nginx/access.log combined
directive in the server block, location block, in default.conf
Hi,
I basically followed the link below to try Deep Learning stack.
https://clearlinux.org/documentation/clear-linux/tutorials/dlrs
Everything works except on the last steps, run the TF jobs.
The docker image "hub.docker.com/clearlinux/stacks-dlrs-kubeflow:latest" defined in the https://github.com/clearlinux/dockerfiles/tree/master/stacks/dlrs/kubeflow/dlrs-tfjob/dlrs-bench/prototypes/*.jsonnet doesn't exist.
Heard from From IRC (#intel-verticals) I modified the image to "hub.docker.intel.com/clearlinux/stacks-dlrs-kf-tfjob-mkl:latest". It can pull the image successfully.
But the eventually still got errors.
Looks like the absl module is not installed on the image.
Can someone have a check on it?
Thanks.
clrdev@zhengq-station ~/kflow/kflow_app $ kubectl get pods -n ${K8S_NAMESPACE}
NAME READY STATUS RESTARTS AGE
dlrsalexnet-ps-0 0/1 Error 0 14m
dlrsalexnet-worker-0 0/1 Error 0 14m
dlrsalexnet-worker-1 0/1 Error 0 14m
dlrsalexnet-worker-2 0/1 Error 0 14m
tf-job-dashboard-679c5f984d-72mcn 1/1 Running 0 15m
tf-job-operator-v1alpha2-674b584564-b72dg 1/1 Running 0 15m
clrdev@zhengq-station ~/kflow/kflow_app $ kubectl logs -n ${K8S_NAMESPACE} -f dlrsalexnet-ps-0
INFO|2019-01-24T05:53:39|/opt/launcher.py|63| Launcher started.
INFO|2019-01-24T05:53:39|/opt/launcher.py|78| Command to run: python tf_cnn_benchmarks.py --batch_size=32 --model=alexnet --variable_update=parameter_server --local_parameter_device=cpu --init_learning_rate=0.0001 --tf_random_seed=8286 --device=cpu --data_format=NHWC --job_name=ps --ps_hosts=dlrsalexnet-ps-0:2222 --worker_hosts=dlrsalexnet-worker-0:2222,dlrsalexnet-worker-1:2222,dlrsalexnet-worker-2:2222 --task_index=0
INFO|2019-01-24T05:53:39|/opt/launcher.py|30| Running python tf_cnn_benchmarks.py --batch_size=32 --model=alexnet --variable_update=parameter_server --local_parameter_device=cpu --init_learning_rate=0.0001 --tf_random_seed=8286 --device=cpu --data_format=NHWC --job_name=ps --ps_hosts=dlrsalexnet-ps-0:2222 --worker_hosts=dlrsalexnet-worker-0:2222,dlrsalexnet-worker-1:2222,dlrsalexnet-worker-2:2222 --task_index=0
INFO|2019-01-24T05:53:39|/opt/launcher.py|42| b'Traceback (most recent call last):'
INFO|2019-01-24T05:53:39|/opt/launcher.py|42| b'File "tf_cnn_benchmarks.py", line 25, in '
INFO|2019-01-24T05:53:39|/opt/launcher.py|42| b'from absl import app'
INFO|2019-01-24T05:53:39|/opt/launcher.py|42| b"ModuleNotFoundError: No module named 'absl'"
Traceback (most recent call last):
File "/opt/launcher.py", line 84, in
run_and_stream(command)
File "/opt/launcher.py", line 54, in run_and_stream
" ".join(cmd), process.returncode))
ValueError: cmd: python tf_cnn_benchmarks.py --batch_size=32 --model=alexnet --variable_update=parameter_server --local_parameter_device=cpu --init_learning_rate=0.0001 --tf_random_seed=8286 --device=cpu --data_format=NHWC --job_name=ps --ps_hosts=dlrsalexnet-ps-0:2222 --worker_hosts=dlrsalexnet-worker-0:2222,dlrsalexnet-worker-1:2222,dlrsalexnet-worker-2:2222 --task_index=0 exited with code 1
For multi-build dockerfiles, the "swupd_args" is not recognized.
By trying "docker build --build-arg swupd_args=" -u http://linux-ftp.jf.intel.com/pub/mirrors/clearlinux/update/ --allow-insecure-http" -t clearlinux/nginx .", the swupd_args won't take effect.
When you try to run the OVMS on the container:
docker run --rm -v /opt/models/:/opt/ml:ro -p 9001:9001 -p 8001:8001 clearlinux/stacks-dlrs-mkl:v0.4.0 /workspace/scripts/serve.sh ie_serving model --model_path /opt/ml/resnet_V1_50 --model_name resnet50 --port 9001 --rest_port 8001
You get
standard_init_linux.go:211: exec user process caused "exec format error"
This is because the /workspace/scripts/serve.sh
is missing the bangline (#!/bin/sh)
ciao-deploy/README.md say is optional to pass the ssh key to the container.
This step is NOT optional since it is required by the container to login into the remote nodes.
I run the clr-sdk
container with -v /var/run/docker.sock:/var/run/docker.sock
I get the following error if I try to run sudo mixer build all
. The /var/run/docker.sock
has been correctly mapped inside of the container and the communication with the docker
daemon works.
clr@70098d6eb3ac ~/mix $ sudo mixer build all
Warning: Using Format=25 from mixer.state for this build.
Updating docker image
25: Pulling from clearlinux/mixer
Digest: sha256:183aa6045775b3becb4ebdd499afdd4440d5b00feebf2947df8b7138b4847fc1
Status: Image is up to date for clearlinux/mixer:25
Running command in container: "mixer build all"
docker: Error response from daemon: error while creating mount source path '/home/clr/mix': mkdir /home/clr: permission denied.
ERROR: Failed to run command in container: failed to execute docker run -i --network=host --rm --workdir /home/clr/mix --entrypoint mixer -v /home/clr/mix:/home/clr/mix clearlinux/mixer:25 build all --native: exit status 126
I suspect that running sudo mixer build all
has the effect of passing the current path to be shared with the docker daemon whereas the current path in the current context doesn't exist on the host.
I think we should just remove the info around /var/run/docker.sock
because it might lead to false hopes.
Several commands (if not any) including swupd can not be executed inside a container running a locally build Clear Linux image that is being updated to latest CL version.
Steps to reproduce:
Create a dockerfile to build locally a CL docker image:
echo "FROM clearlinux RUN swupd update CMD \'bash\'" | tee "my_jenkinsfile"
Build the image:
docker build -f my_jenkinsfile -t clear_test_version
Execute a command:
swupd info
An error message states:
# /usr/libexec/git-core/git-remote-http: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
Tested Clear Linux versions failing: 26790, 26800
Dear authors,
How can I rebuild the image with OpenVINO 2020.1
?
Please provide a way to use nginx-mainline-extras
.
I would like to use ngx_http_brotli_static_module.so
.
When running CIAO Controller container, it should be able to receive the following optional variables:
CIAO_TENANT_NAME
CIAO_USENAME
CIAO_PASSWORD
Link to site packages is not required and can be removed.
root@0d038e7669f4/workspace # echo $PYTHONPATH
/usr/local/lib/openvino/inference_engine/:
root@0d038e7669f4/workspace # ie_serving
Traceback (most recent call last):
File "/usr/bin/ie_serving", line 6, in <module>
from ie_serving.main import main
File "/usr/lib/python3.7/site-packages/ie_serving/main.py", line 22, in <module>
from ie_serving.models.model_builder import ModelBuilder
File "/usr/lib/python3.7/site-packages/ie_serving/models/model_builder.py", line 18, in <module>
from ie_serving.models.gs_model import GSModel
File "/usr/lib/python3.7/site-packages/ie_serving/models/gs_model.py", line 18, in <module>
from ie_serving.models.ir_engine import IrEngine
File "/usr/lib/python3.7/site-packages/ie_serving/models/ir_engine.py", line 19, in <module>
from openvino.inference_engine import IENetwork, IEPlugin
ModuleNotFoundError: No module named 'openvino'
root@0d038e7669f4/workspace # export PYTHONPATH=/usr/local/lib
root@0d038e7669f4/workspace # ie_serving
[finds openvino and starts]
dockerfiles/stacks/dlrs/mkl/Dockerfile
Line 80 in 52b2efd
Enhancement request: add tags for release versions to docker containers so it's easier to pull a specific version for testing/comparison.
Hello, how do I install openslide?
Oringally, I would do it like this:
RUN apt-get update && apt-get install -y --no-install-recommends openslide-tools python3-openslide
Is there any other way that I can use apt-get
?
Kind regards
Found TWO statements inside stacks/dlrs/mkl/Dockerfile:
FROM stacks-clearlinux:......
should be corrected as shown below:
FROM clearlinux/stacks-clearlinux:......
Prefix "clearlinux/" in front of stacks-clearlinux, otherwise, it will require us to login Docker account to build the image.
$ sudo docker run clearlinux/postgres postgres --help
Usage:
su [options] [-] [ [...]]
Change the effective user ID and group ID to that of .
A mere - implies -l. If is not given, root is assumed.
Options:
-m, -p, --preserve-environment do not reset environment variables
-w, --whitelist-environment don't reset specified variables
-g, --group specify the primary group
-G, --supp-group specify a supplemental group
-, -l, --login make the shell a login shell
-c, --command pass a single command to the shell with -c
--session-command pass a single command to the shell with -c
and do not create a new session
-f, --fast pass -f to the shell (for csh or tcsh)
-s, --shell run if /etc/shells allows it
-P, --pty create a new pseudo-terminal
-h, --help display this help
-V, --version display version
For more details see su(1).
It is not expected behavior.
Root cause is "su -c" can only pass a single command.
clearlinux/php-fpm container adds bundle curl, then in the container bash env to run curl command fails:
in clearlinux/php-fpm Dockerfile:
RUN source /os-release &&
mkdir /install_root
&& swupd os-install -V ${VERSION_ID}
--path /install_root --statedir /swupd-state
--bundles=os-core-update,php-basic,curl --no-scripts
then run the container and curl command:
docker run -it clearlinux/php-fpm bash
curl -O https://wordpress.org/latest.tar.gz
get error log:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
On latest nginx Dockerfile update (d7b5207) the directories of a working nginx setup were moved from nginx
to nginx-mainline
but the README documentation still refers to nginx
based directories (e.g: /etc/nginx/conf.d/
, etc).
this documentation should be updated to reflect changes on the Dockerfile
as well.
Would be nice to run latest stable PG 12.1 on clear. Any plans to update the docker image? Not sure how else one would deploy.
When performing any operation with swupd that adds software or verifies software that could potentially be a kernel, it is desirable to not call out to CBM because no kernel exists in the docker environment. All Dockerfiles need adjusted to add this option.
The Clear Linux docker image that is used for DLRS image building is being updated to latest CL available version, when it should be updated up to the CL version that is officially supported by Software Stacks DLRS. This fact should also be stated in the repository documentation.
Trying to build an image from clearlinux:latest I have the following issue when running clrtrust (I have to add certificate in my image):
Cannot locate the helper executable (clrtrust-helper)
Searching a bit if found that if [ -x and if [ -w not working well during the build.
To illustrate a write a small docker file:
FROM clearlinux:latest AS base
RUN ls -al /usr/libexec/clrtrust-helper
RUN if [ -x /usr/libexec/clrtrust-helper ]; then echo "OK"; else echo "KO"; fi
RUN bash --version
RUN clrtrust --help
Result of my build :
Sending build context to Docker daemon 2.114GB
Step 1/5 : FROM clearlinux:latest AS base
---> a941c1fe0174
Step 2/5 : RUN echo ""; ls -al /usr/libexec/clrtrust-helper
---> Running in 5d239d83f6dd
-rwxr-xr-x 1 root root 14384 Apr 6 2020 /usr/libexec/clrtrust-helper
Removing intermediate container 5d239d83f6dd
---> 95b62b7cb0a9
Step 3/5 : RUN if [ -x /usr/libexec/clrtrust-helper ]; then echo "OK"; else echo "KO"; fi
---> Running in 2ff0e681583e
KO
Removing intermediate container 2ff0e681583e
---> 53ccdfc0a4f0
Step 4/5 : RUN bash --version
---> Running in 63621e109f42
GNU bash, version 5.1.8(1)-release (x86_64-generic-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Removing intermediate container 63621e109f42
---> 766c245cfe98
Step 5/5 : RUN clrtrust --help
---> Running in 7f7bc3cb1dc3
Cannot locate the helper executable (clrtrust-helper)
The command '/bin/sh -c clrtrust --help' returned a non-zero code: 127
Any suggestion ?
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.