Jan 20 2023 08:36 AM - edited Jan 20 2023 08:58 AM
You may, or may not, have discovered that you cannot transfer files to/from the cyberx docker container directly with SCP/WinSCP as the image does not support that TTY capability.
This may be a roadblock if you want to: import TLS/SSL files, export/import a sensor backup .tar, ect.
To workaround this issue, we can transfer files to the cyberx_host host as an intermediatory and then to the cyberx docker host (eg. User Desktop <-> cyberx_host <-> cyberx).
Use the following process:
sudo docker ps | grep sensor-app
sudo docker cp /path/of/cyberx_host/source/file [docker ID]:/path/for/cyberx/dest/file