Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the consultup domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/portal/wp-includes/functions.php on line 6121
An error exit status 4 was encountered while building the Docker image. – University of Highlands and Islands

An error exit status 4 was encountered while building the Docker image.

You are here:
< All Topics

This is because your default user has the same id as the one its trying to put on the docker build. This is an incompatibility between docker versions.

Error: An error exit status 4 was encountered while building the Docker image.

When: if you use “ibmcloud dev build”

To fix:

Open up Dockerfile-tools which is located in the project directory

Change the following:

ARG bx_dev_userid=1000

to

ARG bx_dev_userid=1001

If this still, does not work take the failing line which will be the last line in green that is shown and change it so that bx_dev_userid is 1001:

docker image build –file Dockerfile-tools –tag nodehelloworld-express-tools –rm –pull –build-arg bx_dev_userid=1001 –build-arg bx_dev_user=tom .

Leave a Reply

Table of Contents