问题:
|
[root@baccarat ~]# docker update -m 1G mysql8 Error response from daemon: Cannot update container ed135d27bc84bcb2c95ad394eb504807d4da500148e52c85c4a882a4d43b1f5c: Memory limit should be smaller than already set memoryswap limit, update the memoryswap at the same time |
解决:
加上 –memory-swap -1
|
docker update -m 1G --memory-swap -1 mysql8 |
参考: