Can't enable app development on container

I have a local containerized version of OOD 3.1, and I’m trying to enable the developer dropdown on my navbar. In my dockerfile I run the following command:

#Create a system user
RUN useradd username &&
echo “username:password” | chpasswd

RUN sudo mkdir -p /var/www/ood/apps/dev/username
RUN cd /var/www/ood/apps/dev/username
RUN sudo ln -s /home/username/ondemand/dev gateway

But when I run the container the developement dropdown is still not on the navbar. What could be the problem of this? Thanks!

We provide a fullstack container, though it’s really meant to run locally (I can’t tell where you have that deployed if it’s on a VM somewhere or on your local machine), so I have to advise you to only use it locally.

That said - we appear to make the symlink with absolute paths instead of the relative one you have. You should navigate to this directory (you should be able to with the files app) and verify that it correctly points to ~/ondemand/dev.

I believe all you need to do is create the link. You may have to Restart Web Server in the Help menu, but if you add these in the Dockerfile itself, it should have picked it up on startup.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.