SELECT * FROM ssh_exec('<prefix>', 'cloud-init status --wait');
SELECT * FROM ssh_exec('<prefix>', 'sudo docker ps');
INSERT INTO docker_container (server_name, name, image, ports, state)
VALUES ('<prefix>', 'httpd-container', 'httpd',
'{"80/tcp": [{"HostIp": "", "HostPort": "8080"}]}', 'created');
UPDATE docker_container
SET state = 'running'
WHERE server_name = '<prefix>'
AND name = 'httpd-container';
UPDATE docker_container
SET state = 'exited'
WHERE server_name = '<prefix>'
AND name = 'httpd-container';
DELETE FROM docker_container
WHERE server_name = '<prefix>'
AND name = 'httpd-container';
SELECT * FROM docker_container
WHERE server_name = '<prefix>'
AND name = 'httpd-container';