Multiple containers on Docker running code sever with different ports

I am using " code-server: image:" on docker. I want to create a code-server on browser for multiple users to access it, example 10 users.
i created a container with code-server for each user as shown below.

user1 at port: 8444:8443.
user2 at port: 8445:8443.
user3 at port: 8446:8443.
user9 at port: 8449:8443.

Is it ok to do something like this? is there better way to allow mulple users access to code server with different workspace.

Thanks in advance

Multiple containers is the way to go until code server adds multi user support (if they do)
You can reverse proxy those at different subdomains, which would make it easier for the end users

We recommend SWAG