Custom Docker Image

Overview

  1. Log into CCO server containing the Docker image.

  2. Create a new folder in any location within this server and navigate to that folder.

  3. Create a file within this folder and name it Dockerfile.

  4. Add the following content to this file:

    FROM cliqr/worker
    RUN yum update -y ; pip install requests  
    # Add your customization here - for example, python requests module
    ENTRYPOINT ["/worker.sh"]
  5. Save this file and run the following commands:

    docker tag cliqr/worker cliqr/worker:backup
    docker build -t cliqr/worker .

Back to: Worker (Conditional)

  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved