Community discussions

MikroTik App
 
karaYusuf
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Oct 12, 2022 11:07 am

I have a problem with container stopping while i m in the shell

Wed Oct 19, 2022 11:28 am

Hello everyone,
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:
[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] > 
or like this:
[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] > 
Is there something obvious I'm missing or is there a problem with the ram or the hardware?

Thank u for ur help

Edit:I got a new Mikrotik with enough ram and it kicks me out of the shell randomly .

Who is online

Users browsing this forum: GoogleOther [Bot], neki and 79 guests