This commit is contained in:
anlicheng 2025-09-28 15:48:38 +08:00
parent 74b329352c
commit a2df6214cc

View File

@ -11,8 +11,9 @@
%% API
-export([pull_image/2, check_image_exist/1]).
-export([create_container/3, check_container_exist/1, is_container_running/1, start_container/1, stop_container/1, remove_container/1, kill_container/1]).
-export([get_containers/0]).
-export([create_container/3, check_container_exist/1, is_container_running/1,
start_container/1, stop_container/1, remove_container/1, kill_container/1,
get_containers/0]).
-spec pull_image(Image :: binary(), Callback :: fun((Msg :: any()) -> no_return())) -> ok | {error, Reason :: any()}.
pull_image(Image, Callback) when is_binary(Image), is_function(Callback, 1) ->