The previous name, 'johncolvin/bluetradingsystems', was chosen in a misguided effort to adhere to a naming convention recommended by Docker Hub (https://docs.docker.com/docker-hub/repos/create/). In hindsight, this convention isn't well suited to our use case. Our images are shared by multiple users (e.g., sparkd dev users all use the same sparkd-dev image), so it doesn't make sense to name the repository after an arbitrary user.
27 lines
916 B
JSON
27 lines
916 B
JSON
{
|
|
"image": "bluetradingsystems/sparkd-dev:latest",
|
|
"initializeCommand": "${localWorkspaceFolder}/docker/sparkd/dev/devcontainer_initialize.sh",
|
|
"postCreateCommand": "/home/bts/spark/docker/sparkd/dev/devcontainer_post_create.sh",
|
|
"containerUser": "bts",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/home/bts/spark,type=bind",
|
|
"workspaceFolder": "/home/bts/spark",
|
|
"updateRemoteUserUID": true,
|
|
"shutdownAction": "none",
|
|
// Note: If running multiple containers on the same host, each must use a
|
|
// unique set of ports. Usually we just add 1000 to each port as needed. For
|
|
// example, if 8000-8003 is taken, go with 9000-9003, then 10000-10003, etc.
|
|
"runArgs": [
|
|
"-p",
|
|
"8000:8000",
|
|
"-p",
|
|
"8001:8001",
|
|
"-p",
|
|
"8002:8002",
|
|
"-p",
|
|
"8003:8003"
|
|
],
|
|
"mounts": [
|
|
"source=${localEnv:HOME}/.sparkd-dev/mounts/sparkd-dev,target=/home/bts,type=bind"
|
|
]
|
|
}
|