diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -4,13 +4,14 @@ This repository contains some scripts to generate a Docker image suitable for AGL workers. -The AGL worker image is a Docker image based on Debian 8 and contains the necessary tools +The AGL worker image is a Docker image based on Debian 10 and contains the necessary tools either to build platform images based on Yocto, or run the AGL SDK to build AGL Applications outside of Yocto process. ## Requirements -Have a recent docker daemon (>=1.10) installed. All the setup is done inside the image so no other tool is required on the host. +Have a recent docker daemon (>=1.10) installed. All the setup is done inside the +image so no other tool is required on the host. ## Usage @@ -69,9 +70,13 @@ This image can then be exported to a tarball and/or pushed to a Docker registry. To publish the image, there are 2 ways: using a docker registry OR exporting to a tarball. -In the first case, using the image is very easy as it can be pulled directly from the registry host using a 'docker pull' command. The main issue with this method is the efficiency: images are not compressed and it takes ages to transfer overlays to the client host. +In the first case, using the image is very easy as it can be pulled directly +from the registry host using a 'docker pull' command. The main issue with this +method is the efficiency: images are not compressed and it takes ages to +transfer overlays to the client host. -In the second case, the efficiency is better but requires to transfer the image archive manually. On the client host, loading the image is as simple as: +In the second case, the efficiency is better but requires to transfer the image +archive manually. On the client host, loading the image is as simple as: ``` # wget -O - <archive_url> | docker load @@ -79,14 +84,16 @@ In the second case, the efficiency is better but requires to transfer the image ### Instantiate a container -The following command located in contrib/ subdir can be used as **an example** to instantiate a container: +The following command located in contrib/ subdir can be used as **an example** +to instantiate a container: ``` # contrib/create_container 0 ``` -To instantiate more containers on the same host, the instance ID passed as argument must be different from the previous ones. +To instantiate more containers on the same host, the instance ID passed as an +argument must be different from the previous ones. **PLEASE ADJUST THE SCRIPT create_container TO FIT YOUR ENVIRONMENT AND YOUR NEEDS** |