Public Repository

Last pushed: 10 months ago
Short Description
CentOS-based container for ALICE O2 development
Full Description

ALICE O2 Development Container

CentOS-based container for ALICE O2 development.

Supposedly runs aliBuild for ALICE O2 development on any docker-compatible system.
Should be able to run simulations as well.

The container and the host machine share the /data/sw/alice directory.

Status:

Sucessfully build O2 and runs root in batch mode. See issues bellow.

Instructions

Option 1: Use existing docker image

  1. Install and configure Docker.

  2. Pull Alice O2 Development Docker image

    $ docker pull rpez/aliceo2dev

  3. Ensure that the workdir is owned by the current user.

    $ sudo mkdir -p /data/sw/alice

    $ sudo chown -R $USER /data/sw

  4. Run the container

    $ docker run -it -v /data/sw/alice:/data/sw/alice rpez/aliceo2dev

  5. Get aliBuild

    $ git clone https://github.com/alisw/alibuild

  6. Build O2

    $ aliBuild --defaults o2 build O2

  7. Enter alienv:

    $ alienv enter O2/latest-dev-o2

  8. Enjoy

Note: Steps 5 to 7 must be executed inside the container started on step 4.

Option 2: Build the Docker image from source

  1. Install and configure Docker.

  2. Download the ALICE-O2-Docker-dev image source-code repository

    $ git clone https://github.com/rpezzi/ALICE-O2-Docker-dev.git

  3. Build container

    $ cd ALICE-O2-Docker-dev

    $ ./build.sh

  4. Ensure that Alice workdir is owned by the current user.

    $ sudo mkdir -p /data/sw/alice

    $ sudo chown -R $USER /data/sw

  5. Run container with

    $ ./run.sh

  6. Build O2 with aliBuild

    $ git clone https://github.com/alisw/alibuild

    $ aliBuild --defaults o2 build O2

  7. Enter alienv:

    $ alienv enter O2/latest-dev-o2

  8. Enjoy

Note: Steps 6 and 7 must be run inside the container started on step 5.

Issues

Docker Pull Command
Owner
rpez