I am trying to run InterUSS and test it for my project. I am trying to run this through Docker. I download the repository using GitHub (https://github.com/interuss/monitoring/tree/main) and go to build and dev folder where I use the run_locally shell script. The script runs and creates several images and a container with five sub-containers in it. However, at the end of the script I get the message that:
“scd_bootstrapper-1 exited with code 1
rid_bootstrapper-1 exited with code 1
dss-1 | exec /startup/core_service.sh: no such file or directory
dss-1 exited with code 1”
Here is the code when inspecting one of the non running subcontainers:
{
"Id": "f1ed9fa17c90d0654fa3aaea5417f6b162e0835c32559c622945ecea108d1b64",
"Created": "2024-05-18T16:52:57.637834415Z",
"Path": "/startup/scd_bootstrapper.sh",
"Args": [],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 1,
"Error": "",
"StartedAt": "2024-05-19T07:42:12.985235192Z",
"FinishedAt": "2024-05-19T07:42:12.986673229Z",
"Health": {
"Status": "unhealthy",
"FailingStreak": 0,
"Log": []
}
},
"Image": "sha256:b6d1ddcc5f5c6960e1fa151a96e261663a63525206712463cf88b6707130005b",
"ResolvConfPath": "/var/lib/docker/containers/f1ed9fa17c90d0654fa3aaea5417f6b162e0835c32559c622945ecea108d1b64/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/f1ed9fa17c90d0654fa3aaea5417f6b162e0835c32559c622945ecea108d1b64/hostname",
"HostsPath": "/var/lib/docker/containers/f1ed9fa17c90d0654fa3aaea5417f6b162e0835c32559c622945ecea108d1b64/hosts",
"LogPath": "/var/lib/docker/containers/f1ed9fa17c90d0654fa3aaea5417f6b162e0835c32559c622945ecea108d1b64/f1ed9fa17c90d0654fa3aaea5417f6b162e0835c32559c622945ecea108d1b64-json.log",
"Name": "/local_infra-scd_bootstrapper-1",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"C:/Users/tomas/monitoring/build/dev/startup:/startup:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "dss_internal_network",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": [],
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"Mounts": [
{
"Type": "volume",
"Source": "local_infra_dss_component_coordination",
"Target": "/var/dss_component_coordination",
"VolumeOptions": {}
}
],
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/78023b11ec065e8ea0d6fa143eacecda66d938963274b9936557daefed580247-init/diff:/var/lib/docker/overlay2/5d56cf3e23468d006c00dd24a689e0c964bad36af62fd4a5c23e06d55f6c69c2/diff:/var/lib/docker/overlay2/310e8fce8e4461d1a1d0bc5816990dca014f54a12451845edc453c4f00223be3/diff:/var/lib/docker/overlay2/47b23b0f95f121dd0b8973f175f8a33b57fa8f42c18158ea837eeac368b09032/diff:/var/lib/docker/overlay2/7867c7c7b5c18891f4a739812543b8c07c864accb31560e181418c8109897329/diff:/var/lib/docker/overlay2/8a8851af35acd1d53292d48d5ee93a3a9d8ef21a253efc8ed63dad7168aeaf0f/diff:/var/lib/docker/overlay2/84f2b3704e8950b1f36f13b59ee7f9c6b8c748204d3671c08aeb25f7af8fd85a/diff:/var/lib/docker/overlay2/53ab6eefa004105b01f3ba30d053abf88e8126db17924bd17204186d97f80e33/diff:/var/lib/docker/overlay2/df464084e3c5854c0953f59c76bcf6de88d9facda5c6ea946cb3e968d2355d2c/diff",
"MergedDir": "/var/lib/docker/overlay2/78023b11ec065e8ea0d6fa143eacecda66d938963274b9936557daefed580247/merged",
"UpperDir": "/var/lib/docker/overlay2/78023b11ec065e8ea0d6fa143eacecda66d938963274b9936557daefed580247/diff",
"WorkDir": "/var/lib/docker/overlay2/78023b11ec065e8ea0d6fa143eacecda66d938963274b9936557daefed580247/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "C:/Users/tomas/monitoring/build/dev/startup",
"Destination": "/startup",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "local_infra_dss_component_coordination",
"Source": "/var/lib/docker/volumes/local_infra_dss_component_coordination/_data",
"Destination": "/var/dss_component_coordination",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "f1ed9fa17c90",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD-SHELL",
"cat service.ready || exit 1"
]
},
"Image": "interuss/dss:v0.14.0",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/startup/scd_bootstrapper.sh"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "ff0d42e55147bc28dde92885d35fbb97ab2596b7ff409f103e9e0b73d53b61d7",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "crdb:service_started:false",
"com.docker.compose.image": "sha256:b6d1ddcc5f5c6960e1fa151a96e261663a63525206712463cf88b6707130005b",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "local_infra",
"com.docker.compose.project.config_files": "C:\Users\tomas\monitoring\build\dev\docker-compose.yaml",
"com.docker.compose.project.working_dir": "C:\Users\tomas\monitoring\build\dev",
"com.docker.compose.service": "scd_bootstrapper",
"com.docker.compose.version": "2.27.0"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "7a4b25221af4795fb1b4353d23960bd7f9531b990c02143076f8d634c9ed6e92",
"SandboxKey": "/var/run/docker/netns/7a4b25221af4",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"dss_internal_network": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"local_infra-scd_bootstrapper-1",
"scd_bootstrapper"
],
"MacAddress": "",
"NetworkID": "59243fc0e9c427c872c9c540ce5eb218e18c50a5f8b647089e99c9d909beaf7f",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DriverOpts": null,
"DNSNames": [
"local_infra-scd_bootstrapper-1",
"scd_bootstrapper",
"f1ed9fa17c90"
]
}
}
}
}
Containers
[Files]
I checked the startup files and all files needed are present. The start_locally also is present in a folder that contains the startup folder needed. When trying to run the container, only the oauth-1 and crdb-1 are running, the rest of them exit with code 1. I am unsure of how to resolve this problem. Can someone help me with this?
Thank you in advance.
user25128847 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.