CockroachDB on s390x
202
mkdir cockroach
docker run --rm --platform linux/s390x -it -v $(pwd):/cockroach -w /home/builduser/cockroach virag/cockroachdb-s390x:23.1.2 /bin/bash
$ ./cockroach version
Build Tag: v23.1.2-dev
Build Time:
Distribution: CCL
Platform: linux s390x
Go Version: go1.19.4
C Compiler: gcc 9.4.0
Build Commit ID:
Build Type:
$ ./cockroach start-single-node --insecure --background
*
* WARNING: ALL SECURITY CONTROLS HAVE BEEN DISABLED!
*
* This mode is intended for non-production testing only.
*
* In this mode:
* - Your cluster is open to any client that can access any of your IP addresses.
* - Intruders with access to your machine or network can observe client-server traffic.
* - Intruders can log in without password and read or write any data in the cluster.
* - Intruders can consume all your server's resources and cause unavailability.
*
*
* INFO: To start a secure server without mandating TLS for clients,
* consider --accept-sql-without-tls instead. For other options, see:
*
* - https://go.crdb.dev/issue-v/53404/v23.1
* - https://www.cockroachlabs.com/docs/v23.1/secure-a-cluster.html
*
*
* WARNING: Running a server without --sql-addr, with a combined RPC/SQL listener, is deprecated.
* This feature will be removed in the next version of CockroachDB.
*
*
* WARNING: neither --listen-addr nor --advertise-addr was specified.
* The server will advertise "93aa2f145727" to other nodes, is this routable?
*
* Consider using:
* - for local-only servers: --listen-addr=localhost:36257 --sql-addr=localhost:26257
* - for multi-node clusters: --listen-addr=:36257 --sql-addr=:26257 --advertise-addr=<host/IP addr>
*
*
$ ./cockroach sql --insecure
#
# Welcome to the CockroachDB SQL shell.
# All statements must be terminated by a semicolon.
# To exit, type: \q.
#
# Server version: CockroachDB CCL v23.1.2-dev (linux s390x, built , go1.19.4) (same version as client)
# Cluster ID: 65b2c3e5-6abf-443a-af56-6d960444dc8e
#
# Enter \? for a brief introduction.
#
root@localhost:26257/defaultdb>
Content type
Image
Digest
sha256:f6c008faf…
Size
6.9 GB
Last updated
over 2 years ago
docker pull virag/cockroachdb-s390x:23.1.2