You can do this using,
<div class="container" style="margin-top: 20px;">
<h1>Our Products</h1>
<?php
$args=array('post_type' => 'products');
$query= new WP_Query($args);
while ($query-> have_posts() ) : $query->the_post()?>
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-12">
<!-- Add permalink as below -->
<a href="https://wordpress.stackexchange.com/questions/206132/<?php the_permalink(); ?>"><h1><?php echo the_title();?></h1></a>
<?php the_post_thumbnail( 'full', array( 'class' => 'innerimages') );?>
</div>
<?php
endwhile;
?>
</div>
And then for details you have to create 'single-products.php'
file and in that access your post details like,
<div>
<?php the_post(); ?>
<h1><?php the_title(); ?></h1>
<div><?php the_content(); ?></div>
.......
</div>