[Namespace] Docker compose local test

Hi, I’m trying to “hello world” in temporal.io running locally the samples from samples-server/tls/tls-full at main · temporalio/samples-server · GitHub

I already have running the full sample: local server with Cassandra, client and web server

When the web is opened I see “default” namespace, that is fine but…
when I try the next

docker-compose exec temporal-cli-admin sh #Open bash to test tctl commands

Then I run

tctl namespace register gonza

This works fine, cli says “ok, created”
But If I open the Web (localhost:8088) I can’t see the namespace
Same if I run the command

tctl n l

What is happening? Where is the created namespace?
Thanks

Running the list command in admin container

/etc/temporal # tctl namespace list
Name: default
Id: 5330d699-f90a-4824-b723-15898487c278
Description: 
OwnerEmail: 
NamespaceData: map[string]string(nil)
State: Registered
Retention: 72h0m0s
ActiveClusterName: active
Clusters: active
HistoryArchivalState: Disabled
VisibilityArchivalState: Disabled
Bad binaries to reset:
+-----------------+----------+------------+--------+
| BINARY CHECKSUM | OPERATOR | START TIME | REASON |
+-----------------+----------+------------+--------+
+-----------------+----------+------------+--------+
Name: temporal-system
Id: 32049b68-7872-4094-8e63-d0dd59896a83
Description: Temporal internal system namespace
OwnerEmail: temporal-core@temporal.io
NamespaceData: map[string]string(nil)
State: Registered
Retention: 168h0m0s
ActiveClusterName: active
Clusters: active
HistoryArchivalState: Disabled
VisibilityArchivalState: Disabled
Bad binaries to reset:
+-----------------+----------+------------+--------+
| BINARY CHECKSUM | OPERATOR | START TIME | REASON |
+-----------------+----------+------------+--------+
+-----------------+----------+------------+--------+

Hi @gonza_mendoza

Have you tried:

tctl -ns gonza namespace register

1 Like

Hi @tihomir

You are right! It’s working now. Thanks a lot!