Db2

 View Only

AWS ECS db2 Remounting /database with suid permission error

  • 1.  AWS ECS db2 Remounting /database with suid permission error

    Posted Tue December 07, 2021 08:59 AM
    Hi, 

    I am trying to run a db2 container on ECS fargate, when I mount container  I end up getting remounting /database with suid .... mount permission denied. The same image works fine on local machine. Can anyone point out what I am missing here thanks. 

    Dockerfile:

    FROM ibmcom/db2:latest
    # Copy the database schema to the /initdata directory
    ADD sqldata /sqldata

    RUN mkdir /var/custom
    COPY createschema.sh /var/custom
    RUN chmod a+x /var/custom/createschema.sh

    ECS log:

    (*) Remounting /database with suid...
    mount: permission denied

    ------------------------------
    Rafid Haroon
    ------------------------------

    #Db2