Closed srfrnk closed 6 years ago
Verified that it works correctly if you run:
docker run -e "NAMESPACE=aerospike-demo" aerospike/aerospike-server:3.14.1.8
Did you do a docker pull prior to testing. This new template and -e option were recently added.
docker pull aerospike/aerospike-server
Using default tag: latest
latest: Pulling from aerospike/aerospike-server
22dc81ace0ea: Pull complete
1a8b3c87dba3: Pull complete
91390a1c435a: Pull complete
07844b14977e: Pull complete
b78396653dae: Pull complete
9f0cf5721ae9: Pull complete
1f61d1e11d93: Pull complete
6a444a0e4f16: Pull complete
Digest: sha256:b0fbc93690cb6bf62d67c2c28cf67972908abea3bc8b812abfcc849c9b9d7119
Status: Downloaded newer image for aerospike/aerospike-server:latest
docker run -e "NAMESPACE=aerospike-demo" --name aerotest aerospike/aerospike-server
docker exec -ti aerotest aql -c "show namespaces"
show namespaces
+------------------+
| namespaces |
+------------------+
| "aerospike-demo" |
+------------------+
[127.0.0.1:3000] 1 row in set (0.001 secs)
OK
It does look like it's working now. Thanks!
Run
And it prints:
Should have been
aerospike-demo
right?