sonic-buildimage/dockers
Myron Sosyak e7009513da [docker-database] Fix Python3 issue (#7700)
#### Why I did it
To avoid the following error
```
Traceback (most recent call last):
  File "/usr/local/bin/flush_unused_database", line 10, in <module>
    if 'PONG' in output:
TypeError: a bytes-like object is required, not 'str'
```
`communicate` method returns the strings if streams were opened in text mode; otherwise, bytes.
In our case text arg  in Popen is not true and that means that `communicate` return the bytes
#### How I did it
Set `text=True` to get strings instead of bytes
#### How to verify it
run `/usr/local/bin/flush_unused_database` inside database container
2021-06-02 02:39:31 +00:00
..
docker-base [arm] support compile sonic arm image on arm server (#7285) 2021-05-02 08:11:56 -07:00
docker-base-buster [arm] support compile sonic arm image on arm server (#7285) 2021-05-02 08:11:56 -07:00
docker-base-stretch [arm] support compile sonic arm image on arm server (#7285) 2021-05-02 08:11:56 -07:00
docker-basic_router [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-config-engine [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-buster [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-stretch [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-database [docker-database] Fix Python3 issue (#7700) 2021-06-02 02:39:31 +00:00
docker-dhcp-relay dhcpmon: support dual tor in docker template (#7470) 2021-05-05 09:34:42 -07:00
docker-fpm-frr Fix the type issue in rvtysh (#7648) 2021-05-24 22:25:47 +00:00
docker-fpm-gobgp [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-fpm-quagga Support readonly vtysh for sudoers (#7383) 2021-04-29 10:08:55 -07:00
docker-iccpd [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-lldp Fix lldpmgrd syntax issue (#7742) 2021-06-02 02:39:31 +00:00
docker-nat [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-orchagent [docker-orchagent]: Increase ndppd kernel poll interval (#7456) 2021-06-02 02:38:54 +00:00
docker-platform-monitor [pmon]: add psmisc to bring fuser that dentifies processes that are using files or sockets (#7509) 2021-05-10 16:00:43 -07:00
docker-ptf [arm] support compile sonic arm image on arm server (#7285) 2021-05-02 08:11:56 -07:00
docker-router-advertiser [radv] fix bug for radv can't startup if DEVICE_METADATA.localhost.type is NULL (#7651) 2021-05-26 02:39:02 +00:00
docker-sflow [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-snmp [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-sonic-mgmt [docker-sonic-mgmt]: Upgrade Tgen API from 0.0.42 to 0.0.70 (#6275) 2020-12-24 01:53:31 -08:00
docker-sonic-mgmt-framework [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-sonic-restapi Fix supervisor-proc-exit-listener startup issue in restapi (#7681) 2021-05-27 22:29:42 +00:00
docker-sonic-telemetry [Monit] Restart telemetry container if memory usage is beyond the threshold (#7645) 2021-05-31 04:38:18 +00:00
docker-teamd [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
dockerfile-macros.j2 [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00