I installed a websockify container on my hap ac2. At first i was able to get in the shell and then it just said "done" and kicked me out of the shell. Then i set the ram in the config to 100. After that i was able to get in the shell of the websockify container. In the websockify container there is a command called "python". With that command i get in the shell of python. And then if i use as example
print("Hello World") in that shell it will print it and i get kicked out of the shell again. Sometimes I'm not even fast enough to write the print command in the python shell. Then i get kicked out too.
I can give u an example how it looks like:
Code: Select all
[admin@DISE_LAB11] > system script run container-run
value: 0
root@Websockify:/# python
Python 3.6.15 (default, Dec 22 2021, 02:11:55)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
done
[admin@DISE_LAB11] >
Code: Select all
[admin@DISE_LAB11] > system script run container-run
value: 0
root@Websockify:/# python
Python 3.6.15 (default, Dec 22 2021, 02:11:55)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello world
Hello world
done
[admin@DISE_LAB11] >
Thank u for ur help
Edit:I got a new Mikrotik with enough ram and it kicks me out of the shell randomly .