[CRIU] criu and runc

Adrian Reber adrian at lisas.de
Tue Dec 6 07:55:12 PST 2016


I tried to checkpoint and restore a runc container with today's git
checkout. It works, but tcp-established is not really working.

I have container with a httpd running inside and I and connect to it
using 'telnet rhel0x 80' to keep the connection established.

I then do 'runc checkpoint rhel7-httpd --tcp-established' and 'runc
restore -d rhel7-httpd --tcp-established'. Both commands are working.

In my telnet session I now type 'GET /' but I get a TCP reset:

15:35:07.622294 IP dcbz.58608 > rhel0x.http: Flags [S], seq 1885340748, win 29200, options [mss 1460,sackOK,TS val 1499839760 ecr 0,nop,wscale 7], length 0
15:35:07.622342 IP rhel0x.http > dcbz.58608: Flags [S.], seq 1948584834, ack 1885340749, win 28960, options [mss 1460,sackOK,TS val 1521845 ecr 1499839760,nop,wscale 7], length 0
15:35:07.622409 IP dcbz.58608 > rhel0x.http: Flags [.], ack 1, win 229, options [nop,nop,TS val 1499839760 ecr 1521845], length 0
15:35:32.268394 IP dcbz.58608 > rhel0x.http: Flags [P.], seq 1:3, ack 1, win 229, options [nop,nop,TS val 1499864406 ecr 1521845], length 2
15:35:32.268433 IP rhel0x.http > dcbz.58608: Flags [R], seq 1948584835, win 0, length 0

https://lisas.de/~adrian/dump.log
https://lisas.de/~adrian/restore.log

I am using runc 1.0 rc2. I get the same behaviour with criu 2.3.

Any ideas what is wrong?

		Adrian


More information about the CRIU mailing list