问题:如何在具有卷的ARM体系结构上的Docker上运行TimeScaleDB?

时间:2018-09-03 08:02:56

标签: docker arm timescaledb

如何在将Postgres / TimescaleDB数据卷暴露给主机的ARM体系结构上的Docker上运行TimeScale?

我的想法是执行以下操作:

docker run -d --restart always \
--name timescaledb \
-p 5432:5432 \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_USER=user \
-e POSTGRES_DB=databasename \
-v /etc/postgresql:$PWD/postgres/etc \
-v /var/log/postgresql:$PWD/postgres/log \
-v /var/lib/postgresql:$PWD/postgres/lib \
timescale/timescaledb

但是,TimescaleDB似乎卡在了启动/重启过程中:

enter image description here

您对我在做什么错有任何建议/想法吗?

Github上也有问题:https://github.com/timescale/timescaledb-docker/issues/23

泊坞窗日志(docker logs timescaledb)告知以下内容:

standard_init_linux.go:190: exec user process caused "exec format error"

运行

docker run \
--name timescaledb \
-p 5432:5432 \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_USER=user \
-e POSTGRES_DB=databasename \
timescale/timescaledb

返回相同的错误:standard_init_linux.go:190: exec user process caused "exec format error"

1 个答案:

答案 0 :(得分:0)

我将检查映像是否支持ARM体系结构。有关更多信息,请参见此处:https://github.com/timescale/timescaledb-docker/issues/25