Mid Server Installation with Docker on MacOS

Minh Huy Lam Qu
Giga Sage

Hi everyone,

 

I'm gonna install the MID Server to my personal laptop with Docker (MacOS). I'm followed this documentation: https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/mid-server/task/mid-build-d...

 

After successfully build the image (as the image below):

MinhHuyLamQu_0-1687171678705.png

I started to run that image with the command: docker run --env-file <env_file_name_here> <docker_tag or image_id>. In the env file, I also provide the MID_INSTANCE_URL, MID_INSTANCE_USERNAME, MID_INSTANCE_PASSWORD,MID_SERVER_NAME (which is the account with mid_server role).

But the it thrown an error like this:

MinhHuyLamQu_1-1687171874871.png

Anyone, can help me with this issue? Thanks so much.

1 ACCEPTED SOLUTION

Hi there,

Here is the full command and the env file.

Docker run --env-file /Users/lamquocminhhuy/ServiceNow/mid-linux-container-recipe.utah-12-21-2022__patch1-03-01-2023_03-13-2023_1716.linux.x86-64/mid.env mid:utah-12-21-2022__patch1-03-01-2023_03-13-2023_1716

MinhHuyLamQu_0-1687183688858.png

MinhHuyLamQu_1-1687183698052.png

 

Brs

View solution in original post

2 REPLIES 2

Rahul Priyadars
Tera Sage
Tera Sage

I started to run that image with the command: docker run --env-file <env_file_name_here> <docker_tag or image_id>-->Can u post the exact command 

 

Also env file details hide pasword n all

 

Regards

RP

Hi there,

Here is the full command and the env file.

Docker run --env-file /Users/lamquocminhhuy/ServiceNow/mid-linux-container-recipe.utah-12-21-2022__patch1-03-01-2023_03-13-2023_1716.linux.x86-64/mid.env mid:utah-12-21-2022__patch1-03-01-2023_03-13-2023_1716

MinhHuyLamQu_0-1687183688858.png

MinhHuyLamQu_1-1687183698052.png

 

Brs