Migrate db2 developer edition to new server

Migrate db2 developer edition to new server

Here is a guide I wrote for my work, I just post it here so that I can refer to it even after I leave. Install the same DB2 version as in DEV environment (v11.1.2.2) IBM does not support old version of DB2 developer edition, and when new version is released, old version support is dropped and you’re not able to install them any more. As a workaround, we need to migrate the existing DB2,…

Read More

删除container的挂载点

删除container的挂载点

今天需要把一个正在运行的container的挂载点删除(只删除挂载点,而不删除host机器上的实际目录)。启动container时是使用-v挂载上去的。 结果找了半天,发现除了重建container之外,官方没有提供任何方式来删除挂载点。 尝试了把container停掉,然后编辑/var/lib/docker/containers/$UUID/hostconfig.json等文件,发现没用,container启动后会被覆盖。 看来只有重建container一条路了。失望。   参考文档: https://docs.docker.com/storage/bind-mounts/

Read More