infinity icon indicating copy to clipboard operation
infinity copied to clipboard

[Bug]: Cannot start with docker on macOS

Open librae8226 opened this issue 2 years ago • 0 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Branch name

main

Commit ID

docker image id 1f1ebe620523

Other environment information

Hardware: MacBook Pro, Intel Core i7
OS type: macOS Ventura 13.6.1
Others: Docker Desktop for macOS, Version 4.24.0 (122432)

Actual behavior

# librae @ mbpl in ~/work/repo/infinity on git:main o [21:18:48] 
$ docker images
REPOSITORY            TAG       IMAGE ID       CREATED        SIZE
infiniflow/infinity   latest    1f1ebe620523   5 days ago     122MB
nodered/node-red      latest    aad8a8d13b50   3 months ago   549MB

# librae @ mbpl in ~/work/repo/infinity on git:main o [21:23:13] 
$ docker run -d --name infinity -v /tmp/infinity/:/tmp/infinity --network=host infiniflow/infinity bash ./opt/bin/infinity 
 
eb9bf7949bab2474fca51e3852f0ad77d38f2e49bf6fedf5cdda97af0cee80db

# librae @ mbpl in ~/work/repo/infinity on git:main o [21:25:18] 
$ docker ps -a
CONTAINER ID   IMAGE                 COMMAND                  CREATED         STATUS                       PORTS     NAMES
eb9bf7949bab   infiniflow/infinity   "bash ./opt/bin/infi…"   8 seconds ago   Exited (126) 7 seconds ago             infinity

# librae @ mbpl in ~/work/repo/infinity on git:main o [21:25:25] 
$ docker logs infinity
./opt/bin/infinity: ./opt/bin/infinity: cannot execute binary file

Expected behavior

Expect the docker container to run successfully.

Steps to reproduce

docker run -d --name infinity -v /tmp/infinity/:/tmp/infinity --network=host infiniflow/infinity bash ./opt/bin/infinity


### Additional information

_No response_

librae8226 avatar Dec 26 '23 13:12 librae8226