use image to copy over socket