Console scripts create a script in the buildout but they don't have access to the zope instance itself. They are run independently of the Zope process so if you need to interact with the Plone site you should use the REST API.
Instead, you can define a [zopectl.command] section in your setup.py, and this will create additional bin/instance XXXX commands which will have access to the Zope database through the app.Plone variable.
then it should be ./docker-entrypoint.sh yourscript right? In that case you should check whether docker-entrypoint supports arbitrary parameters or does specific things for start.
If you are using plone/plone-backend I can see here that docker-entrypoint.sh handles start specially:
So you may execute the full command in some other way. I also see there that the script used to start the site is zconsole so you may need to execute something like:
./docker-entrypoint.sh zconsole yourscript or something like that.